From a0c9d0849aa5e53c37f8fd68db80412364e8edaf Mon Sep 17 00:00:00 2001 From: Michael Maroszek Date: Mon, 27 May 2019 17:42:20 +0200 Subject: [PATCH] Fixed bug #76345 --- NEWS | 3 +++ ext/zip/config.m4 | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index 1277de38a9b..f8a006a1ecd 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 dc34cbf694d..58c78538a8c 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(========================================================)