diff options
author | Andre Heinecke <[email protected]> | 2016-07-12 13:10:16 +0000 |
---|---|---|
committer | Andre Heinecke <[email protected]> | 2016-07-12 13:10:16 +0000 |
commit | 744978cce8f9dfb2363b9d274ee99f25cfcf0e40 (patch) | |
tree | 073927257072f84bc27eac7b31f4f8f70bf39bbb | |
parent | Bump version to 1.7.0 (diff) | |
download | gpgme-744978cce8f9dfb2363b9d274ee99f25cfcf0e40.tar.gz gpgme-744978cce8f9dfb2363b9d274ee99f25cfcf0e40.zip |
m4: Use LIBS instead of LDFLAGS for Qt libs
* m4/qt.m4: Modify LIBS instead of LDFLAGS for link test.
--
The test would otherwise fail when building for windows because the
link order was wrong.
-rw-r--r-- | m4/qt.m4 | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -60,8 +60,8 @@ AC_DEFUN([FIND_QT], dnl for host. OLDCPPFLAGS=$CPPFLAGS CPPFLAGS=$GPGME_QT_CFLAGS - OLDLDFLAGS=$LDFLAGS - LDFLAGS=$GPGME_QT_LIBS + OLDLIBS=$LIBS + LIBS=$GPGME_QT_LIBS AC_LANG_PUSH(C++) AC_MSG_CHECKING([whether a simple qt program can be built]) AC_LINK_IFELSE([AC_LANG_SOURCE([ @@ -73,6 +73,6 @@ AC_DEFUN([FIND_QT], AC_MSG_RESULT([$have_qt5_libs]) AC_LANG_POP() CPPFLAGS=$OLDCPPFLAGS - LDFLAGS=$OLDLDFLAGS + LIBS=$OLDLIBS fi ]) |