[Buildroot] [git commit] package/siproxd: needs threads

Thomas Petazzoni thomas.petazzoni at bootlin.com
Tue Mar 16 20:06:11 UTC 2021


commit: https://git.buildroot.net/buildroot/commit/?id=4865cc2e4e3982424f3fac84fe752e23f094cd28
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

siproxd which has been added with commit
3efc5a250c1c98598ba4c91a7d71d11343d937ab unconditionally uses pthread

Fixes:
 - http://autobuild.buildroot.org/results/828448fff87772e1c34b3696284a44eb9fc692fb

Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
Acked-by: Alexander Dahl <post at lespocky.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
---
 package/siproxd/Config.in | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/package/siproxd/Config.in b/package/siproxd/Config.in
index 0a471553e4..e73a33bf14 100644
--- a/package/siproxd/Config.in
+++ b/package/siproxd/Config.in
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_SIPROXD
 	bool "siproxd"
+	depends on BR2_TOOLCHAIN_HAS_THREADS
 	select BR2_PACKAGE_LIBOSIP2
 	select BR2_PACKAGE_LIBTOOL
 	select BR2_PACKAGE_SQLITE
@@ -15,3 +16,6 @@ config BR2_PACKAGE_SIPROXD
 	  masquerading firewall or NAT router.
 
 	  http://siproxd.sourceforge.net/
+
+comment "siproxd needs a toolchain w/ threads"
+	depends on !BR2_TOOLCHAIN_HAS_THREADS


More information about the buildroot mailing list