diff options
author | Dylan K. Taylor <odigiman@gmail.com> | 2018-07-07 10:14:31 +0100 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2018-07-07 17:32:16 +0200 |
commit | 77a841db483b878fa3b8519c9b9ed5d6418303bb (patch) | |
tree | aac3507802aebcd4030f08fe744feeb17b6395e9 | |
parent | 5d0d812a53c2961ec8733230c192b711c65164cd (diff) | |
download | php-git-77a841db483b878fa3b8519c9b9ed5d6418303bb.tar.gz |
Fixed regex for checking libzip static lib
This bug caused linking issues in debug mode (see bug [#76564](https://bugs.php.net/bug.php?id=76564))
This issue affects PHP 7.2 and master.
-rw-r--r-- | ext/zip/config.w32 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/zip/config.w32 b/ext/zip/config.w32 index e6cd587bf8..e39fac3803 100644 --- a/ext/zip/config.w32 +++ b/ext/zip/config.w32 @@ -10,7 +10,7 @@ if (PHP_ZIP != "no") { ) { EXTENSION('zip', 'php_zip.c zip_stream.c'); - if (get_define("LIBS_ZIP").match("libzip_a.lib")) { + if (get_define("LIBS_ZIP").match("libzip_a(?:_debug)?\.lib")) { /* Using static dependency lib. */ AC_DEFINE("ZIP_STATIC", 1); } |