diff options
author | Joe Orton <jorton@php.net> | 2004-11-03 14:32:52 +0000 |
---|---|---|
committer | Joe Orton <jorton@php.net> | 2004-11-03 14:32:52 +0000 |
commit | 2685ca935fceb0dbb4cb61161c93444cec7eef2c (patch) | |
tree | d8a3df250ee349710abf8ff900af5226b6d05c9f /ext/zlib | |
parent | 557cda47a06bd879835d864c1874671b35f82093 (diff) | |
download | php-git-2685ca935fceb0dbb4cb61161c93444cec7eef2c.tar.gz |
Update extensions to use /path/to/$PHP_LIBDIR rather than /path/to/lib
to support multi-ABI platforms.
Diffstat (limited to 'ext/zlib')
-rw-r--r-- | ext/zlib/config0.m4 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/zlib/config0.m4 b/ext/zlib/config0.m4 index 495a952c2c..bc87e5fb79 100644 --- a/ext/zlib/config0.m4 +++ b/ext/zlib/config0.m4 @@ -38,7 +38,7 @@ if test "$PHP_ZLIB" != "no" -o "$PHP_ZLIB_DIR" != "no"; then case $ZLIB_DIR in /usr) ac_extra= ;; - *) ac_extra=-L$ZLIB_DIR/lib ;; + *) ac_extra=-L$ZLIB_DIR/$PHP_LIBDIR ;; esac PHP_CHECK_LIBRARY(z, gzgets, [ @@ -49,7 +49,7 @@ if test "$PHP_ZLIB" != "no" -o "$PHP_ZLIB_DIR" != "no"; then $ac_extra ]) - PHP_ADD_LIBPATH($ZLIB_DIR/lib, ZLIB_SHARED_LIBADD) + PHP_ADD_LIBPATH($ZLIB_DIR/$PHP_LIBDIR, ZLIB_SHARED_LIBADD) PHP_ZLIB_DIR=$ZLIB_DIR PHP_ADD_LIBRARY(z,, ZLIB_SHARED_LIBADD) |