build: Fix windows configure when using --with-qt-libdir

fixes #4630

Github-Pull: #4633
This commit is contained in:
ntrgn 2014-08-05 00:59:28 +02:00 committed by Wladimir J. van der Laan
parent 8d0d512bde
commit 9ce0774aba
No known key found for this signature in database
GPG Key ID: 74810B012346C9A6

View File

@ -357,6 +357,11 @@ AC_DEFUN([_BITCOIN_QT_FIND_LIBS_WITHOUT_PKGCONFIG],[
]) ])
BITCOIN_QT_CHECK([ 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 if test x$TARGET_OS == xwindows; then
AC_CHECK_LIB([imm32], [main],, BITCOIN_QT_FAIL(libimm32 not found)) AC_CHECK_LIB([imm32], [main],, BITCOIN_QT_FAIL(libimm32 not found))
fi fi