Code

configure.in: Use the `--libs_r' option of mysql-config.
authorCyril Feraudet <cyril@feraudet.com>
Tue, 14 Feb 2012 09:47:27 +0000 (10:47 +0100)
committerFlorian Forster <octo@collectd.org>
Tue, 14 Feb 2012 17:52:04 +0000 (18:52 +0100)
Rather than the `--libs' option.

Change-Id: Idd2a3828f4d154f353c44a4b69aa094acbadcabf
Signed-off-by: Florian Forster <octo@collectd.org>
configure.in

index 023e21a19416e5865d9e5c5ce0b3061c9a1deb66..0acad7064b5747b44cc61d80edf0d5d27b42ad97 100644 (file)
@@ -2064,7 +2064,7 @@ then
 fi
 if test "x$with_libmysql" = "xyes"
 then
-       with_mysql_libs=`$with_mysql_config --libs 2>/dev/null`
+       with_mysql_libs=`$with_mysql_config --libs_r 2>/dev/null`
        mysql_config_status=$?
 
        if test $mysql_config_status -ne 0