summaryrefslogtreecommitdiff
path: root/ext/intl/config.w32
diff options
context:
space:
mode:
Diffstat (limited to 'ext/intl/config.w32')
-rw-r--r--ext/intl/config.w325
1 files changed, 4 insertions, 1 deletions
diff --git a/ext/intl/config.w32 b/ext/intl/config.w32
index 22cde6bd6d..76bd19177b 100644
--- a/ext/intl/config.w32
+++ b/ext/intl/config.w32
@@ -8,7 +8,7 @@ if (PHP_INTL != "no") {
CHECK_HEADER_ADD_INCLUDE("unicode/utf.h", "CFLAGS_INTL")) {
// always build as shared - zend_strtod.c/ICU type conflict
EXTENSION("intl", "php_intl.c intl_convert.c intl_convertcpp.cpp intl_error.c ", true,
- "/I \"" + configure_module_dirname + "\"");
+ "/I \"" + configure_module_dirname + "\" /DZEND_ENABLE_STATIC_TSRMLS_CACHE=1");
ADD_SOURCES(configure_module_dirname + "/collator", "\
collator.c \
collator_attr.c \
@@ -72,6 +72,9 @@ if (PHP_INTL != "no") {
dateformat_helpers.cpp \
dateformat_create.cpp \
", "intl");
+ ADD_SOURCES(configure_module_dirname + "/uchar", "\
+ uchar.c",
+ "intl");
ADD_SOURCES(configure_module_dirname + "/idn", "\
idn.c",
"intl");