php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
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 commitsRelated reports
 [2006-12-26 09:57 UTC] pajoye@php.net
This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.

Thanks for the patch!
 [2006-12-26 10:04 UTC] pajoye@php.net
> closed...
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Nov 21 08:01:29 2024 UTC