[patch] zip ignoring --with-libdir on zlib checks
| Bug #39952 | [patch] zip ignoring --with-libdir on zlib checks | ||||
|---|---|---|---|---|---|
| Submitted: | 2006-12-26 08:56 UTC | Modified: | 2006-12-26 10:04 UTC | ||
| From: | judas dot iscariote at gmail dot com | Assigned: | pajoye (profile) | ||
| Status: | Closed | Package: | Zip Related | ||
| PHP Version: | 5CVS-2006-12-26 (CVS) | OS: | * | ||
| Private report: | No | CVE-ID: | None | ||
[2006-12-26 08:56 UTC] judas dot iscariote at gmail dot com
Description:
------------
A follow up of #39935...
--with-libdir is ignored on zlib check
Index: ext/zip/config.m4
===================================================================
RCS file: /repository/php-src/ext/zip/config.m4,v
retrieving revision 1.8.2.1
diff -u -r1.8.2.1 config.m4
--- ext/zip/config.m4 3 Nov 2006 16:46:18 -0000 1.8.2.1
+++ ext/zip/config.m4 26 Dec 2006 08:54:43 -0000
@@ -40,7 +40,7 @@
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
Reproduce code:
---------------
---------
Expected result:
----------------
-----------
Actual result:
--------------
---------
Patches
Pull Requests
History
AllCommentsChangesGit/SVN commits
[2006-12-26 09:57 UTC] pajoye@php.net