From 9fbd9ff7cc377e20f46b6787b2d33be9d1c0e55c Mon Sep 17 00:00:00 2001 From: Michael Maroszek Date: Sun, 26 May 2019 11:27:27 +0200 Subject: [PATCH] fix missing include when using custom libzip dirs --- ext/zip/config.m4 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ext/zip/config.m4 b/ext/zip/config.m4 index 0889d3693da0a..9ec1c4a800255 100644 --- a/ext/zip/config.m4 +++ b/ext/zip/config.m4 @@ -38,6 +38,8 @@ if test "$PHP_ZIP" != "no"; then AC_DEFINE(HAVE_ZIP,1,[ ]) + PHP_EVAL_INCLINE($LIBZIP_CFLAGS) + PHP_ZIP_SOURCES="php_zip.c zip_stream.c" PHP_NEW_EXTENSION(zip, $PHP_ZIP_SOURCES, $ext_shared,, $LIBZIP_CFLAGS)