summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 3bcd954d6..98aae12c8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -602,6 +602,8 @@ AC_ARG_WITH(mysql,
MYSQL_LIBDIR="/usr/lib64/mysql"
elif test -d "/usr/lib/mysql"; then
MYSQL_LIBDIR="/usr/lib/mysql"
+ elif
+ MYSQL_LIBDIR="/usr/lib"
fi
LDFLAGS="-L$MYSQL_LIBDIR $LDFLAGS $ZLIBS"
AC_CHECK_LIB(mysqlclient, mysql_init,