aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Fabrice Fontaine <fontaine.fabrice@gmail.com>2019-01-11 18:31:58 +0100
committerGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2019-01-12 18:40:41 +0100
commita4c30b548de9f7ce284d768d431816313b74d7a5 (patch)
tree0b30c434e2cc3a7a8e53ae396b44a9106a12f8cc
parentd62425599e09b503d98febbf73b63731dbf4bf76 (diff)
downloadbuildroot-a4c30b548de9f7ce284d768d431816313b74d7a5.tar.gz
buildroot-a4c30b548de9f7ce284d768d431816313b74d7a5.tar.bz2
package/asterisk: needs threads
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>
-rw-r--r--package/asterisk/Config.in6
1 files changed, 4 insertions, 2 deletions
diff --git a/package/asterisk/Config.in b/package/asterisk/Config.in
index b55bc0174d..c52456f8fc 100644
--- a/package/asterisk/Config.in
+++ b/package/asterisk/Config.in
@@ -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