summaryrefslogtreecommitdiff
path: root/ext/phar/config.w32
diff options
context:
space:
mode:
authorGreg Beaver <cellog@php.net>2008-01-12 16:18:26 +0000
committerGreg Beaver <cellog@php.net>2008-01-12 16:18:26 +0000
commit64cb8c81118b962b613afb50c946d0c2b9382477 (patch)
tree0c5e627dd900aac0752e15f009ba82e1f94c3488 /ext/phar/config.w32
parent9bcbbce5bf9e82e1953fcf091b768eed36451c22 (diff)
downloadphp-git-64cb8c81118b962b613afb50c946d0c2b9382477.tar.gz
fix conflict on win32 if phar compiled statically
Diffstat (limited to 'ext/phar/config.w32')
-rw-r--r--ext/phar/config.w323
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/phar/config.w32 b/ext/phar/config.w32
index 835c736b8a..c5a9be4e65 100644
--- a/ext/phar/config.w32
+++ b/ext/phar/config.w32
@@ -9,6 +9,9 @@ if (PHP_PHAR != "no") {
if (PHP_ZIP_SHARED) {
ADD_FLAG("CFLAGS_PHAR", "/D COMPILE_DL_ZIP ");
}
+ if (PHP_PHAR_SHARED) {
+ ADD_FLAG("CFLAGS_PHAR", "/D COMPILE_DL_PHAR ");
+ }
if (PHP_ZIP != "no") {
ADD_EXTENSION_DEP('phar', 'zip', true);
AC_DEFINE('HAVE_PHAR_ZIP', 1);