From: Stanislav Malyshev Date: Sun, 17 Jun 2018 23:00:06 +0000 (-0700) Subject: ICU 59+ requires C++11 and errors out without the option X-Git-Tag: php-7.3.0alpha2~8^2^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5dd1ef90caec3021e6ce55c8554e695edf641eaf;p=php ICU 59+ requires C++11 and errors out without the option --- diff --git a/ext/intl/config.m4 b/ext/intl/config.m4 index 52408f8e91..e8fad2e432 100644 --- a/ext/intl/config.m4 +++ b/ext/intl/config.m4 @@ -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 \