mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Update extensions to use /path/to/$PHP_LIBDIR rather than /path/to/lib
to support multi-ABI platforms.
This commit is contained in:
parent
557cda47a0
commit
2685ca935f
27 changed files with 92 additions and 92 deletions
|
@ -83,7 +83,7 @@ if test "$PHP_MYSQL" != "no"; then
|
|||
Note that the MySQL client library is not bundled anymore.])
|
||||
fi
|
||||
|
||||
for i in lib lib/mysql; do
|
||||
for i in $PHP_LIBDIR $PHP_LIBDIR/mysql; do
|
||||
MYSQL_LIB_CHK($i)
|
||||
done
|
||||
|
||||
|
@ -99,9 +99,9 @@ Note that the MySQL client library is not bundled anymore.])
|
|||
PHP_CHECK_LIBRARY(mysqlclient, mysql_error, [], [
|
||||
AC_MSG_ERROR([mysql configure failed. Please check config.log for more information.])
|
||||
], [
|
||||
-L$PHP_ZLIB_DIR/lib -L$MYSQL_LIB_DIR
|
||||
-L$PHP_ZLIB_DIR/$PHP_LIBDIR -L$MYSQL_LIB_DIR
|
||||
])
|
||||
MYSQL_LIBS="-L$PHP_ZLIB_DIR/lib -lz"
|
||||
MYSQL_LIBS="-L$PHP_ZLIB_DIR/$PHP_LIBDIR -lz"
|
||||
else
|
||||
PHP_ADD_LIBRARY(z,, MYSQL_SHARED_LIBADD)
|
||||
PHP_CHECK_LIBRARY(mysqlclient, mysql_errno, [], [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue