ICU 59+ requires C++11 and errors out without the option

This commit is contained in:
Stanislav Malyshev 2018-06-17 16:00:06 -07:00
parent 11507c0e1b
commit 5dd1ef90ca

View File

@ -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 \