mirror of
https://github.com/php/php-src.git
synced 2024-09-21 09:57:23 +00:00
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. Closes GH-8549.
This commit is contained in:
parent
7fedb43f15
commit
33fc9e5a77
2
NEWS
2
NEWS
@ -77,5 +77,7 @@ PHP NEWS
|
|||||||
. add ZipArchive::clearError() method
|
. add ZipArchive::clearError() method
|
||||||
. add ZipArchive::getStreamName() method
|
. add ZipArchive::getStreamName() method
|
||||||
. add ZipArchive::getStreamIndex() method
|
. add ZipArchive::getStreamIndex() method
|
||||||
|
. On Windows, the Zip extension is now built as shared library (DLL) by
|
||||||
|
default. (cmb)
|
||||||
|
|
||||||
<<< NOTE: Insert NEWS from last stable release here prior to actual release! >>>
|
<<< NOTE: Insert NEWS from last stable release here prior to actual release! >>>
|
||||||
|
@ -222,6 +222,9 @@ PHP 8.2 UPGRADE NOTES
|
|||||||
the configuration option --with-oci8 has been dropped. --with-oci8-11g,
|
the configuration option --with-oci8 has been dropped. --with-oci8-11g,
|
||||||
--with-oci8-12c and --with-oci8-19 are still supported.
|
--with-oci8-12c and --with-oci8-19 are still supported.
|
||||||
|
|
||||||
|
- Zip:
|
||||||
|
. The Zip extension is now built as shared library (DLL) by default.
|
||||||
|
|
||||||
========================================
|
========================================
|
||||||
13. Other Changes
|
13. Other Changes
|
||||||
========================================
|
========================================
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
// vim:ft=javascript
|
// vim:ft=javascript
|
||||||
|
|
||||||
ARG_ENABLE("zip", "ZIP support", "yes");
|
ARG_ENABLE("zip", "ZIP support", "yes,shared");
|
||||||
|
|
||||||
if (PHP_ZIP != "no") {
|
if (PHP_ZIP != "no") {
|
||||||
if (CHECK_HEADER_ADD_INCLUDE("zip.h", "CFLAGS_ZIP", PHP_PHP_BUILD + "\\include;" + PHP_EXTRA_INCLUDES) &&
|
if (CHECK_HEADER_ADD_INCLUDE("zip.h", "CFLAGS_ZIP", PHP_PHP_BUILD + "\\include;" + PHP_EXTRA_INCLUDES) &&
|
||||||
|
Loading…
Reference in New Issue
Block a user