Skip to content

Commit 328bdb1

Browse files
committed
qt5: Ensure correct link order
If optional libs don't appear in QT_LIBS, they need to be listed first for proper static linking.
1 parent 62e9d77 commit 328bdb1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/qt/test/Makefile.am

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ test_bitcoin_qt_CPPFLAGS = $(AM_CPPFLAGS) $(QT_INCLUDES) $(QT_TEST_INCLUDES)
1818
test_bitcoin_qt_SOURCES = test_main.cpp uritests.cpp paymentservertests.cpp $(TEST_QT_H)
1919
nodist_test_bitcoin_qt_SOURCES = $(TEST_QT_MOC_CPP)
2020
test_bitcoin_qt_LDADD = $(LIBBITCOINQT) $(LIBBITCOIN_SERVER) $(LIBBITCOIN_WALLET) $(LIBBITCOIN_CLI) $(LIBBITCOIN_COMMON) $(LIBLEVELDB) \
21-
$(LIBMEMENV) $(BOOST_LIBS) $(QT_LIBS) $(QT_DBUS_LIBS) $(QT_TEST_LIBS) \
21+
$(LIBMEMENV) $(BOOST_LIBS) $(QT_DBUS_LIBS) $(QT_TEST_LIBS) $(QT_LIBS) \
2222
$(QR_LIBS) $(PROTOBUF_LIBS) $(BDB_LIBS)
2323

2424
CLEANFILES = $(BUILT_SOURCES) *.gcda *.gcno

0 commit comments

Comments
 (0)