From 2685ca935fceb0dbb4cb61161c93444cec7eef2c Mon Sep 17 00:00:00 2001 From: Joe Orton Date: Wed, 3 Nov 2004 14:32:52 +0000 Subject: Update extensions to use /path/to/$PHP_LIBDIR rather than /path/to/lib to support multi-ABI platforms. --- ext/zlib/config0.m4 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ext/zlib') 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) -- cgit v1.2.1