[1/1] asterisk: needs threads

Message ID 20190111173158.31428-1-fontaine.fabrice@gmail.com
State Accepted
Headers show
Series
  • [1/1] asterisk: needs threads
Related show

Commit Message

Fabrice Fontaine Jan. 11, 2019, 5:31 p.m.
Fixes:
 - http://autobuild.buildroot.org/results/85d30a4f94efa868a9155f7dda593ba8079063b5

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 package/asterisk/Config.in | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

Comments

Thomas Petazzoni Jan. 12, 2019, 5:40 p.m. | #1
Hello,

On Fri, 11 Jan 2019 18:31:58 +0100, Fabrice Fontaine wrote:
> Fixes:
>  - http://autobuild.buildroot.org/results/85d30a4f94efa868a9155f7dda593ba8079063b5
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
>  package/asterisk/Config.in | 6 ++++--
>  1 file changed, 4 insertions(+), 2 deletions(-)

Applied to master, thanks.

Thomas

Patch

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