summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2003-02-15 20:09:49 +0000
committerIlia Alshanetsky <iliaa@php.net>2003-02-15 20:09:49 +0000
commit9f7fbaf5c22bedc048319a463dba92b95da88dd5 (patch)
tree9088a4eb776fda6e923e6ad16f759bab601bd6fd /ext
parent22517ce0de20456ced990e4ae74267a61f54d590 (diff)
downloadphp-git-9f7fbaf5c22bedc048319a463dba92b95da88dd5.tar.gz
Proper lib detection.
Diffstat (limited to 'ext')
-rw-r--r--ext/mysqli/config.m42
1 files changed, 1 insertions, 1 deletions
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)