Skip to content

Commit 9ce0774

Browse files
ntrgnlaanwj
authored andcommitted
build: Fix windows configure when using --with-qt-libdir
fixes #4630 Github-Pull: #4633
1 parent 8d0d512 commit 9ce0774

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/m4/bitcoin_qt.m4

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -357,6 +357,11 @@ AC_DEFUN([_BITCOIN_QT_FIND_LIBS_WITHOUT_PKGCONFIG],[
357357
])
358358
359359
BITCOIN_QT_CHECK([
360+
LIBS=
361+
if test x$qt_lib_path != x; then
362+
LIBS="$LIBS -L$qt_lib_path"
363+
fi
364+
360365
if test x$TARGET_OS == xwindows; then
361366
AC_CHECK_LIB([imm32], [main],, BITCOIN_QT_FAIL(libimm32 not found))
362367
fi

0 commit comments

Comments
 (0)