We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6f1a0f6 commit c155523Copy full SHA for c155523
ext/pdo_mysql/config.m4
@@ -87,6 +87,9 @@ if test "$PHP_PDO_MYSQL" != "no"; then
87
88
AC_DEFINE_UNQUOTED(PDO_MYSQL_UNIX_ADDR, "$PDO_MYSQL_SOCKET", [ ])
89
90
+
91
+ _SAVE_LIBS=$LIBS
92
+ LIBS="$LIBS $PDO_MYSQL_LIBS"
93
PHP_CHECK_LIBRARY(mysqlclient, mysql_query,
94
[
95
PHP_EVAL_LIBLINE($PDO_MYSQL_LIBS, PDO_MYSQL_SHARED_LIBADD)
@@ -95,8 +98,6 @@ if test "$PHP_PDO_MYSQL" != "no"; then
98
],[
96
99
$PDO_MYSQL_LIBS
97
100
])
- _SAVE_LIBS=$LIBS
- LIBS="$LIBS $PDO_MYSQL_LIBS"
101
AC_CHECK_FUNCS([mysql_commit mysql_stmt_prepare mysql_next_result mysql_sqlstate])
102
LIBS=$_SAVE_LIBS
103
0 commit comments