[Buildroot] [PATCH 1/2] package/php: intl support needs icu, which needs threads

Yann E. MORIN yann.morin.1998 at free.fr
Tue Apr 8 21:50:15 UTC 2014


From: "Yann E. MORIN" <yann.morin.1998 at free.fr>

Fixes:
    http://autobuild.buildroot.net/results/156/1567be445b3ab9071717e9e72301818f95d0a143/

Signed-off-by: "Yann E. MORIN" <yann.morin.1998 at free.fr>
---
 package/php/Config.ext | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/package/php/Config.ext b/package/php/Config.ext
index 463334b..abf4993 100644
--- a/package/php/Config.ext
+++ b/package/php/Config.ext
@@ -163,13 +163,14 @@ config BR2_PACKAGE_PHP_EXT_INTL
 	depends on BR2_USE_WCHAR
 	depends on !BR2_arc # icu -> atomic builtins
 	depends on !BR2_BINFMT_FLAT # icu
+	depends on BR2_TOOLCHAIN_HAS_THREADS # icu
 	help
 	  Internationalization support
 
-comment "intl support needs a toolchain w/ C++, wchar"
+comment "intl support needs a toolchain w/ C++, wchar, threads"
 	depends on !BR2_arc
 	depends on !BR2_BINFMT_FLAT
-	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR
+	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
 
 comment "Image processing"
 
-- 
1.8.3.2




More information about the buildroot mailing list