From: Pierre Joye Date: Tue, 26 Dec 2006 09:52:32 +0000 (+0000) Subject: - #39952 zip ignoring --with-libdir on zlib checks (judas dot X-Git-Tag: RELEASE_1_0_0RC1~496 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1766548574944bc38abba6d4db7669fcdec16e5e;p=php - #39952 zip ignoring --with-libdir on zlib checks (judas dot iscariote at gmail dot com) --- diff --git a/ext/zip/config.m4 b/ext/zip/config.m4 index e7907be21e..a520903a16 100644 --- a/ext/zip/config.m4 +++ b/ext/zip/config.m4 @@ -40,7 +40,7 @@ if test "$PHP_ZIP" != "no"; then AC_MSG_ERROR([zip support requires ZLIB. Use --with-zlib-dir= to specify prefix where ZLIB include and library are located]) else AC_MSG_RESULT([$PHP_ZLIB_DIR]) - PHP_ADD_LIBRARY_WITH_PATH(z, $PHP_ZLIB_DIR/lib, ZIP_SHARED_LIBADD) + PHP_ADD_LIBRARY_WITH_PATH(z, $PHP_ZLIB_DIR/$PHP_LIBDIR, ZIP_SHARED_LIBADD) PHP_ADD_INCLUDE($PHP_ZLIB_INCDIR) fi