php: intl support needs dynamic library
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Sat, 10 Nov 2018 21:59:30 +0000 (22:59 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Thu, 29 Nov 2018 21:19:50 +0000 (22:19 +0100)
getArgTypeList is defined both in ext/intl/msgformat/msgformat_helpers.cpp
and icu library so add a !BR2_STATIC_LIBS dependency to
BR2_PACKAGE_PHP_EXT_INTL

Fixes:
 - http://autobuild.buildroot.org/results/628b677d1ceb8b404265d89357225e0a1dce1407

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/php/Config.ext

index 3082462b4f5130f0f50f0b88dade2a75e2906d4a..7e6b3e0e25a57592eabfe1862e873880090e64e6 100644 (file)
@@ -201,14 +201,15 @@ config BR2_PACKAGE_PHP_EXT_INTL
        depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # icu
        depends on !BR2_BINFMT_FLAT # icu
        depends on BR2_TOOLCHAIN_HAS_THREADS # icu
+       depends on !BR2_STATIC_LIBS
        select BR2_PACKAGE_ICU
        help
          Internationalization support
 
-comment "intl support needs a toolchain w/ C++, wchar, threads, gcc >= 4.8, host gcc >= 4.8"
+comment "intl support needs a toolchain w/ C++, wchar, threads, dynamic library, gcc >= 4.8, host gcc >= 4.8"
        depends on !BR2_BINFMT_FLAT
        depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \
-               !BR2_TOOLCHAIN_HAS_THREADS || \
+               !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS || \
                !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 || \
                !BR2_HOST_GCC_AT_LEAST_4_8