diff options
Diffstat (limited to 'ext')
-rw-r--r-- | ext/zip/config.w32 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/zip/config.w32 b/ext/zip/config.w32 index 010237267c..11c299a253 100644 --- a/ext/zip/config.w32 +++ b/ext/zip/config.w32 @@ -10,7 +10,8 @@ if (PHP_ZIP != "no") { ) { EXTENSION('zip', 'php_zip.c zip_stream.c'); - if (!PHP_ZIP_SHARED) { + if (get_define("LIBS_ZIP").match("libzip_a.lib")) { + /* Using static dependency lib. */ AC_DEFINE("ZIP_STATIC", 1); } |