Skip to content

Commit 77a841d

Browse files
dktappsweltling
authored andcommitted
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.
1 parent 5d0d812 commit 77a841d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/zip/config.w32

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ if (PHP_ZIP != "no") {
1010
) {
1111
EXTENSION('zip', 'php_zip.c zip_stream.c');
1212

13-
if (get_define("LIBS_ZIP").match("libzip_a.lib")) {
13+
if (get_define("LIBS_ZIP").match("libzip_a(?:_debug)?\.lib")) {
1414
/* Using static dependency lib. */
1515
AC_DEFINE("ZIP_STATIC", 1);
1616
}

0 commit comments

Comments
 (0)