aboutsummaryrefslogtreecommitdiff
path: root/src/m4/bitcoin_qt.m4
diff options
context:
space:
mode:
authorntrgn <ntrgnt@gmail.com>2014-08-05 00:59:28 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2014-08-05 15:01:33 +0200
commit9ce0774aba7004c3f633fd57ed6707e759a9c7a9 (patch)
treed2b17962e77c07e955c5babb4becb549ce2055b9 /src/m4/bitcoin_qt.m4
parent8d0d512bde834fe4abb618b9a139355ef8780e95 (diff)
build: Fix windows configure when using --with-qt-libdir
fixes #4630 Github-Pull: #4633
Diffstat (limited to 'src/m4/bitcoin_qt.m4')
-rw-r--r--src/m4/bitcoin_qt.m45
1 files changed, 5 insertions, 0 deletions
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