package/php: intl support needs icu, which needs threads
authorYann E. MORIN <yann.morin.1998@free.fr>
Tue, 8 Apr 2014 21:50:15 +0000 (23:50 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Tue, 8 Apr 2014 22:44:01 +0000 (00:44 +0200)
Fixes:
    http://autobuild.buildroot.net/results/156/1567be445b3ab9071717e9e72301818f95d0a143/

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/php/Config.ext

index 463334b3ac9df6361b550ba4271438c39445d69b..abf4993efbbe82ce70c92f951893be32d5aae299 100644 (file)
@@ -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"