]> granicus.if.org Git - php/commitdiff
- #39952 zip ignoring --with-libdir on zlib checks (judas dot
authorPierre Joye <pajoye@php.net>
Tue, 26 Dec 2006 09:52:32 +0000 (09:52 +0000)
committerPierre Joye <pajoye@php.net>
Tue, 26 Dec 2006 09:52:32 +0000 (09:52 +0000)
  iscariote at gmail dot com)

ext/zip/config.m4

index e7907be21e6be63faaba9d545bb91a8aba07decf..a520903a165bb7b9971136f8544fd0679ab5b6c1 100644 (file)
@@ -40,7 +40,7 @@ if test "$PHP_ZIP" != "no"; then
                AC_MSG_ERROR([zip support requires ZLIB. Use --with-zlib-dir=<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