File tree 2 files changed +3
-3
lines changed 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -2238,9 +2238,9 @@ AC_DEFUN([PHP_SETUP_ICU],[
2238
2238
PHP_EVAL_INCLINE($ICU_INCS)
2239
2239
PHP_EVAL_LIBLINE($ICU_LIBS, $1 )
2240
2240
2241
- ICU_EXTRA_FLAGS =`$ICU_CONFIG --cxxflags`
2241
+ ICU_CXXFLAGS =`$ICU_CONFIG --cxxflags`
2242
2242
if test "$icu_version" -ge "49000"; then
2243
- ICU_EXTRA_FLAGS ="$ICU_EXTRA_FLAGS -DUNISTR_FROM_CHAR_EXPLICIT=explicit -DUNISTR_FROM_STRING_EXPLICIT=explicit"
2243
+ ICU_CXXFLAGS ="$ICU_CXXFLAGS -DUNISTR_FROM_CHAR_EXPLICIT=explicit -DUNISTR_FROM_STRING_EXPLICIT=explicit"
2244
2244
fi
2245
2245
fi
2246
2246
] )
Original file line number Diff line number Diff line change @@ -88,7 +88,7 @@ if test "$PHP_INTL" != "no"; then
88
88
breakiterator/rulebasedbreakiterator_methods.cpp \
89
89
breakiterator/codepointiterator_internal.cpp \
90
90
breakiterator/codepointiterator_methods.cpp"
91
- PHP_INTL_CPP_FLAGS="$ICU_INCS -Wno-write-strings -D__STDC_LIMIT_MACROS -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 $ICU_EXTRA_FLAGS "
91
+ PHP_INTL_CPP_FLAGS="$ICU_INCS -Wno-write-strings -D__STDC_LIMIT_MACROS -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 $ICU_CXXFLAGS "
92
92
if test "$ext_shared" = "no"; then
93
93
PHP_ADD_SOURCES(PHP_EXT_DIR(intl), $PHP_INTL_CPP_SOURCES, $PHP_INTL_CPP_FLAGS)
94
94
else
You can’t perform that action at this time.
0 commit comments