diff options
author | Greg Beaver <cellog@php.net> | 2008-01-12 16:18:26 +0000 |
---|---|---|
committer | Greg Beaver <cellog@php.net> | 2008-01-12 16:18:26 +0000 |
commit | 64cb8c81118b962b613afb50c946d0c2b9382477 (patch) | |
tree | 0c5e627dd900aac0752e15f009ba82e1f94c3488 /ext/phar/config.w32 | |
parent | 9bcbbce5bf9e82e1953fcf091b768eed36451c22 (diff) | |
download | php-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.w32 | 3 |
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); |