From 9ce0774aba7004c3f633fd57ed6707e759a9c7a9 Mon Sep 17 00:00:00 2001 From: ntrgn Date: Tue, 5 Aug 2014 00:59:28 +0200 Subject: build: Fix windows configure when using --with-qt-libdir fixes #4630 Github-Pull: #4633 --- src/m4/bitcoin_qt.m4 | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/m4/bitcoin_qt.m4') diff --git a/src/m4/bitcoin_qt.m4 b/src/m4/bitcoin_qt.m4 index 9356aac37f..5017742cc2 100644 --- a/src/m4/bitcoin_qt.m4 +++ b/src/m4/bitcoin_qt.m4 @@ -357,6 +357,11 @@ AC_DEFUN([_BITCOIN_QT_FIND_LIBS_WITHOUT_PKGCONFIG],[ ]) BITCOIN_QT_CHECK([ + LIBS= + if test x$qt_lib_path != x; then + LIBS="$LIBS -L$qt_lib_path" + fi + if test x$TARGET_OS == xwindows; then AC_CHECK_LIB([imm32], [main],, BITCOIN_QT_FAIL(libimm32 not found)) fi -- cgit v1.2.3