Skip to content

Commit 24f7096

Browse files
committed
Merge branch 'PHP-7.2'
* PHP-7.2: ICU 59+ requires C++11 and errors out without the option Fix #76300 - Dont attempt to change visibility of a parent private
2 parents 7d7b7e8 + 61a4fc4 commit 24f7096

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ext/intl/config.m4

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ if test "$PHP_INTL" != "no"; then
1818
else
1919
icu_spoof_src=""
2020
fi
21+
if test "$icu_version" -ge "59000"; then
22+
ICU_CXXFLAGS="$ICU_CXXFLAGS -std=c++11 -stdlib=libc++"
23+
fi
2124
PHP_NEW_EXTENSION(intl, php_intl.c \
2225
intl_error.c \
2326
intl_convert.c \

0 commit comments

Comments
 (0)