Skip to content

Commit 35e3d59

Browse files
committed
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1: Fix clang build, ref buf #76153
2 parents 99194d1 + 8b104d7 commit 35e3d59

File tree

1 file changed

+15
-12
lines changed

1 file changed

+15
-12
lines changed

ext/intl/config.m4

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ if test "$PHP_INTL" != "no"; then
2020
PHP_NEW_EXTENSION(intl, php_intl.c \
2121
intl_error.c \
2222
intl_convert.c \
23-
intl_convertcpp.cpp \
2423
collator/collator.c \
2524
collator/collator_class.c \
2625
collator/collator_sort.c \
@@ -32,8 +31,6 @@ if test "$PHP_INTL" != "no"; then
3231
collator/collator_is_numeric.c \
3332
collator/collator_error.c \
3433
common/common_error.c \
35-
common/common_enum.cpp \
36-
common/common_date.cpp \
3734
converter/converter.c \
3835
formatter/formatter.c \
3936
formatter/formatter_main.c \
@@ -53,17 +50,12 @@ if test "$PHP_INTL" != "no"; then
5350
dateformat/dateformat_attr.c \
5451
dateformat/dateformat_data.c \
5552
dateformat/dateformat_format.c \
56-
dateformat/dateformat_format_object.cpp \
5753
dateformat/dateformat_parse.c \
58-
dateformat/dateformat_create.cpp \
59-
dateformat/dateformat_attrcpp.cpp \
60-
dateformat/dateformat_helpers.cpp \
6154
msgformat/msgformat.c \
6255
msgformat/msgformat_attr.c \
6356
msgformat/msgformat_class.c \
6457
msgformat/msgformat_data.c \
6558
msgformat/msgformat_format.c \
66-
msgformat/msgformat_helpers.cpp \
6759
msgformat/msgformat_parse.c \
6860
grapheme/grapheme_string.c \
6961
grapheme/grapheme_util.c \
@@ -73,6 +65,18 @@ if test "$PHP_INTL" != "no"; then
7365
transliterator/transliterator.c \
7466
transliterator/transliterator_class.c \
7567
transliterator/transliterator_methods.c \
68+
uchar/uchar.c \
69+
idn/idn.c \
70+
$icu_spoof_src, $ext_shared,,$ICU_INCS -Wno-write-strings -D__STDC_LIMIT_MACROS -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1,cxx)
71+
72+
PHP_ADD_SOURCES(PHP_EXT_DIR(intl), intl_convertcpp.cpp \
73+
common/common_enum.cpp \
74+
common/common_date.cpp \
75+
dateformat/dateformat_format_object.cpp \
76+
dateformat/dateformat_create.cpp \
77+
dateformat/dateformat_attrcpp.cpp \
78+
dateformat/dateformat_helpers.cpp \
79+
msgformat/msgformat_helpers.cpp \
7680
timezone/timezone_class.cpp \
7781
timezone/timezone_methods.cpp \
7882
calendar/calendar_class.cpp \
@@ -83,10 +87,9 @@ if test "$PHP_INTL" != "no"; then
8387
breakiterator/breakiterator_methods.cpp \
8488
breakiterator/rulebasedbreakiterator_methods.cpp \
8589
breakiterator/codepointiterator_internal.cpp \
86-
breakiterator/codepointiterator_methods.cpp \
87-
uchar/uchar.c \
88-
idn/idn.c \
89-
$icu_spoof_src, $ext_shared,,$ICU_INCS -Wno-write-strings -D__STDC_LIMIT_MACROS -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 $ICU_EXTRA_FLAGS,cxx)
90+
breakiterator/codepointiterator_methods.cpp, \
91+
$ICU_INCS -Wno-write-strings -D__STDC_LIMIT_MACROS -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 $ICU_EXTRA_FLAGS)
92+
9093
PHP_ADD_BUILD_DIR($ext_builddir/collator)
9194
PHP_ADD_BUILD_DIR($ext_builddir/converter)
9295
PHP_ADD_BUILD_DIR($ext_builddir/common)

0 commit comments

Comments
 (0)