From 9f7fbaf5c22bedc048319a463dba92b95da88dd5 Mon Sep 17 00:00:00 2001 From: Ilia Alshanetsky Date: Sat, 15 Feb 2003 20:09:49 +0000 Subject: [PATCH] Proper lib detection. --- ext/mysqli/config.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.50.1