package/asterisk: needs threads
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Fri, 11 Jan 2019 17:31:58 +0000 (18:31 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sat, 12 Jan 2019 17:40:41 +0000 (18:40 +0100)
Fixes:
 - http://autobuild.buildroot.org/results/85d30a4f94efa868a9155f7dda593ba8079063b5

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/asterisk/Config.in

index b55bc0174d54d886e35ebde05b47d776fbb2eee9..c52456f8fc9e000aa4cc54e0d285374fb6a729d0 100644 (file)
@@ -4,6 +4,7 @@ config BR2_PACKAGE_ASTERISK
        depends on !BR2_STATIC_LIBS # dlfcn.h
        depends on !BR2_TOOLCHAIN_USES_MUSL
        depends on BR2_USE_MMU # libedit
+       depends on BR2_TOOLCHAIN_HAS_THREADS
        depends on BR2_USE_WCHAR # libedit
        select BR2_PACKAGE_JANSSON
        select BR2_PACKAGE_LIBCURL
@@ -24,7 +25,8 @@ config BR2_PACKAGE_ASTERISK
 
          http://www.asterisk.org/
 
-comment "asterisk needs a glibc or uClibc toolchain w/ C++, dynamic library, wchar"
+comment "asterisk needs a glibc or uClibc toolchain w/ C++, dynamic library, threads, wchar"
        depends on BR2_USE_MMU
        depends on BR2_TOOLCHAIN_USES_MUSL || !BR2_INSTALL_LIBSTDCPP \
-               || BR2_STATIC_LIBS || !BR2_USE_WCHAR
+               || BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS \
+               || !BR2_USE_WCHAR