#39952 [Opn->Asn]: [patch] zip ignoring --with-libdir on zlib checks
| From: | tony2001@php.net | Date: | Tue, 26 Dec 2006 09:49:26 +0000 |
| Subject: | #39952 [Opn->Asn]: [patch] zip ignoring --with-libdir on zlib checks | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-106885@lists.php.net to get a copy of this message | ||
ID: 39952
Updated by: tony2001@php.net
Reported By: judas dot iscariote at gmail dot com
-Status: Open
+Status: Assigned
Bug Type: Zip Related
Operating System: *
PHP Version: 5CVS-2006-12-26 (CVS)
-Assigned To:
+Assigned To: pajoye
Previous Comments:
------------------------------------------------------------------------
[2006-12-26 08:56:20] 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:
--------------
---------
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=39952&edit=1