mirror of
https://github.com/php/php-src.git
synced 2024-12-13 03:44:17 +08:00
ICU 59+ requires C++11 and errors out without the option
This commit is contained in:
parent
11507c0e1b
commit
5dd1ef90ca
@ -18,6 +18,9 @@ if test "$PHP_INTL" != "no"; then
|
||||
else
|
||||
icu_spoof_src=""
|
||||
fi
|
||||
if test "$icu_version" -ge "59000"; then
|
||||
ICU_CXXFLAGS="$ICU_CXXFLAGS -std=c++11 -stdlib=libc++"
|
||||
fi
|
||||
PHP_NEW_EXTENSION(intl, php_intl.c \
|
||||
intl_error.c \
|
||||
intl_convert.c \
|
||||
|
Loading…
Reference in New Issue
Block a user