Skip to content

Commit a8ec35a

Browse files
committed
Merge branch 'PHP-7.2'
* PHP-7.2: Fix shared ext/zip build with static dependency lib
2 parents dbea6e1 + afc3f6e commit a8ec35a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ext/zip/config.w32

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

13-
if (!PHP_ZIP_SHARED) {
13+
if (get_define("LIBS_ZIP").match("libzip_a.lib")) {
14+
/* Using static dependency lib. */
1415
AC_DEFINE("ZIP_STATIC", 1);
1516
}
1617

0 commit comments

Comments
 (0)