From 600c8b6ab8077ba5e871591bf55276f705fe520a Mon Sep 17 00:00:00 2001 From: Ruben Kerkhof Date: Sat, 1 Aug 2015 19:03:34 +0200 Subject: [PATCH] mysql: use mysql_config --include for include path According to the mysql_config manpage, --cflags shows the compiler flags the library was compiled with. We certainly don't want to use those. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index ce01b1ee..41c36cb5 100644 --- a/configure.ac +++ b/configure.ac @@ -2585,7 +2585,7 @@ AC_ARG_WITH(libmysql, [AS_HELP_STRING([--with-libmysql@<:@=PREFIX@:>@], [Path to ]) if test "x$with_libmysql" = "xyes" then - with_mysql_cflags=`$with_mysql_config --cflags 2>/dev/null` + with_mysql_cflags=`$with_mysql_config --include 2>/dev/null` mysql_config_status=$? if test $mysql_config_status -ne 0 -- 2.30.2