[Buildroot] [PATCH 1/2] package/siproxd: needs threads

Fabrice Fontaine fontaine.fabrice at gmail.com
Tue Mar 16 06:38:20 UTC 2021


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>
---
 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
-- 
2.30.0



More information about the buildroot mailing list