summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKalle Sommer Nielsen <kalle@php.net>2009-06-11 23:37:51 +0000
committerKalle Sommer Nielsen <kalle@php.net>2009-06-11 23:37:51 +0000
commit4b17fee3b911926e34c78a36702677085cdc6030 (patch)
treeb04c5fbf46dc4abeed4e68dcf2efdedfa6dcfb95
parent7b438a20cb5eecfba58f9254e1a4c734bc264bf4 (diff)
downloadphp-git-4b17fee3b911926e34c78a36702677085cdc6030.tar.gz
Fixed static build of mbstring on Windows (makes static build of exif possible too)
-rw-r--r--ext/mbstring/config.w324
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/mbstring/config.w32 b/ext/mbstring/config.w32
index f452c1868a..0675840176 100644
--- a/ext/mbstring/config.w32
+++ b/ext/mbstring/config.w32
@@ -5,14 +5,14 @@ ARG_ENABLE("mbstring", "multibyte string functions", "no");
ARG_ENABLE("mbregex", "multibyte regex support", "no");
ARG_ENABLE("mbregex-backtrack", "check multibyte regex backtrack", "yes");
-if (PHP_MBSTRING == "yes") {
+if (PHP_MBSTRING != "no") {
FSO.CopyFile("ext\\mbstring\\libmbfl\\config.h.vc6",
"ext\\mbstring\\libmbfl\\config.h", true);
FSO.CopyFile("ext\\mbstring\\oniguruma\\win32\\config.h",
"ext\\mbstring\\oniguruma\\config.h", true);
- EXTENSION("mbstring", "mbstring.c php_unicode.c mb_gpc.c", true,
+ EXTENSION("mbstring", "mbstring.c php_unicode.c mb_gpc.c", PHP_MBSTRING_SHARED,
"-Iext/mbstring/libmbfl -Iext/mbstring/libmbfl/mbfl \
-Iext/mbstring/oniguruma /D NOT_RUBY=1 /D LIBMBFL_EXPORTS=1 \
/D HAVE_STDARG_PROTOTYPES=1 /D HAVE_CONFIG_H /D HAVE_STDLIB_H \