[Libreoffice-commits] .: configure.in
Tomáš Chvátal
tchvatal at kemper.freedesktop.org
Wed Aug 8 12:10:31 PDT 2012
configure.in | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
New commits:
commit 0c7617a388d8e2e3a0d6c451b6412a5d32dd3d6e
Author: Tomas Chvatal <tchvatal at suse.cz>
Date: Wed Aug 8 21:10:17 2012 +0200
Use LIBS not LDFLAGS to not fail with enforced as-needed.
Change-Id: Ia27e97c12e9a8f36e106c9ae3c399cd776433387
diff --git a/configure.in b/configure.in
index 50f3288..2708f5b 100644
--- a/configure.in
+++ b/configure.in
@@ -7047,8 +7047,8 @@ if test "$ENABLE_MYSQLC" = "YES"; then
[AC_MSG_ERROR(mysql_driver.h not found. install MySQL C++ Connectivity)], [])
AC_CHECK_LIB([mysqlcppconn], [main], [:],
[AC_MSG_ERROR(MySQL C++ Connectivity lib not found or functional)], [])
- save_LDFLAGS=$LDFLAGS
- LDFLAGS="$LDFLAGS -lmysqlcppconn"
+ save_LIBS=$LIBS
+ LIBS="$LIBS -lmysqlcppconn"
AC_MSG_CHECKING([version])
AC_RUN_IFELSE([AC_LANG_SOURCE([[
#include <mysql_driver.h>
@@ -7066,7 +7066,7 @@ int main(int argc, char **argv) {
]])],[AC_MSG_RESULT(OK)],[AC_MSG_ERROR([not suitable, we need >= 1.0.6])],[])
AC_LANG_POP([C++])
- LDFLAGS=$save_LDFLAGS
+ LIBS=$save_LIBS
else
AC_MSG_RESULT([internal])
AC_MSG_CHECKING([for mysqlcppconn module])
More information about the Libreoffice-commits
mailing list