diff options
author | Anatol Belski <ab@php.net> | 2018-05-02 17:26:37 +0200 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2018-05-02 17:26:37 +0200 |
commit | afc3f6e8d58248594f9ceb47a2c08fb488a794e6 (patch) | |
tree | 824c403b379ee32e00b9d001f10c7e8949626bee | |
parent | 3139be0bea9f5b3cbc56886472216bacb03f0e9f (diff) | |
download | php-git-afc3f6e8d58248594f9ceb47a2c08fb488a794e6.tar.gz |
Fix shared ext/zip build with static dependency lib
-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 cdc42bdb1d..76231bee37 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); } |