fix compilation failure on 32/64bit linux systems, when libmysql is used

with ext/mysql
This commit is contained in:
Andrey Hristov 2012-10-17 17:22:31 +02:00
parent e5bdd2c0ee
commit c50d732f76
2 changed files with 10 additions and 0 deletions

3
NEWS
View File

@ -22,6 +22,9 @@ PHP NEWS
(reeze.xia@gmail.com)
. Fixed bug #62500 (Segfault in DateInterval class when extended). (Laruence)
- mysql:
. Fixed compilation failure on mixed 32/64 bit systems. (Andrey)
- MySQLnd:
. Fixed bug #62885 (mysqli_poll - Segmentation fault). (Laruence)

View File

@ -98,6 +98,13 @@ Note that the MySQL client library is not bundled anymore!])
MYSQL_LIB_CHK($i)
done
if test -z "$MYSQL_LIB_DIR"; then
MYSQL_LIB_CHK(lib/x86_64-linux-gnu)
fi
if test -z "$MYSQL_LIB_DIR"; then
MYSQL_LIB_CHK(lib/i386-linux-gnu)
fi
if test -z "$MYSQL_LIB_DIR"; then
AC_MSG_ERROR([Cannot find lib$MYSQL_LIBNAME under $MYSQL_DIR.
Note that the MySQL client library is not bundled anymore!])