package/siproxd: needs threads
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Tue, 16 Mar 2021 06:38:20 +0000 (07:38 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Tue, 16 Mar 2021 20:06:11 +0000 (21:06 +0100)
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@gmail.com>
Acked-by: Alexander Dahl <post@lespocky.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/siproxd/Config.in

index 0a471553e437abf8222f253a9455d8a559730476..e73a33bf14c347a3d37a70d0a23ec328c754b9c7 100644 (file)
@@ -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