From 66fe4dfefabcf8b7796d57153030b06b530088dd Mon Sep 17 00:00:00 2001 From: "Christoph M. Becker" Date: Fri, 13 May 2022 14:59:12 +0200 Subject: [PATCH] Build ext/zip as shared library by default on Windows This allows users to use PECL/zip, which is well maintained and often brings new features which are not yet available in ext/zip, as drop-in replacement for the official Windows php-src builds. --- ext/zip/config.w32 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/zip/config.w32 b/ext/zip/config.w32 index 7ea33766f10ce..620283a1d85d7 100644 --- a/ext/zip/config.w32 +++ b/ext/zip/config.w32 @@ -1,6 +1,6 @@ // vim:ft=javascript -ARG_ENABLE("zip", "ZIP support", "yes"); +ARG_ENABLE("zip", "ZIP support", "yes,shared"); if (PHP_ZIP != "no") { if (CHECK_HEADER_ADD_INCLUDE("zip.h", "CFLAGS_ZIP", PHP_PHP_BUILD + "\\include;" + PHP_EXTRA_INCLUDES) &&