summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--NEWS3
-rw-r--r--ext/zip/config.m43
2 files changed, 5 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 1277de38a9..f8a006a1ec 100644
--- a/NEWS
+++ b/NEWS
@@ -18,6 +18,9 @@ PHP NEWS
. Fixed bug #78038 (Socket_select fails when resource array contains
references). (Nikita)
+- Zip:
+ . Fixed bug #76345 (zip.h not found). (Michael Maroszek)
+
30 May 2019, PHP 7.2.19
- FPM:
diff --git a/ext/zip/config.m4 b/ext/zip/config.m4
index dc34cbf694..58c78538a8 100644
--- a/ext/zip/config.m4
+++ b/ext/zip/config.m4
@@ -118,7 +118,8 @@ if test "$PHP_ZIP" != "no"; then
])
AC_DEFINE(HAVE_ZIP,1,[ ])
- PHP_NEW_EXTENSION(zip, php_zip.c zip_stream.c, $ext_shared,, $LIBZIP_CFLAGS)
+ PHP_EVAL_INCLINE($LIBZIP_CFLAGS)
+ PHP_NEW_EXTENSION(zip, php_zip.c zip_stream.c, $ext_shared)
PHP_SUBST(ZIP_SHARED_LIBADD)
else
AC_MSG_WARN(========================================================)