From: Ilia Alshanetsky Date: Sat, 15 Feb 2003 20:09:49 +0000 (+0000) Subject: Proper lib detection. X-Git-Tag: RELEASE_0_5~994 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9f7fbaf5c22bedc048319a463dba92b95da88dd5;p=php Proper lib detection. --- diff --git a/ext/mysqli/config.m4 b/ext/mysqli/config.m4 index 5c2f6ce574..e7c34850b7 100644 --- a/ext/mysqli/config.m4 +++ b/ext/mysqli/config.m4 @@ -50,7 +50,7 @@ if test "$PHP_MYSQLI" != "no"; then ],[ AC_MSG_ERROR([wrong mysql library version or lib not found]) ],[ - -L$MYSQLI_DIR -lm -ldl + `$PHP_MYSQLI/bin/mysql_config --libs | sed -e "s/'//g"` ]) PHP_SUBST(MYSQLI_SHARED_LIBADD)