build: use -mwindows for gui targets when linking with mingw

This commit is contained in:
Cory Fields
2014-01-27 15:30:51 -05:00
parent ca1913e8f6
commit 6986861fda
3 changed files with 7 additions and 0 deletions

View File

@@ -41,5 +41,6 @@ endif
test_bitcoin_qt_LDADD += $(LIBBITCOIN_CLI) $(LIBBITCOIN_COMMON) $(LIBLEVELDB) \
$(LIBMEMENV) $(BOOST_LIBS) $(QT_DBUS_LIBS) $(QT_TEST_LIBS) $(QT_LIBS) \
$(QR_LIBS) $(PROTOBUF_LIBS) $(BDB_LIBS)
test_bitcoin_qt_LDFLAGS = $(QT_LDFLAGS)
CLEANFILES = $(BUILT_SOURCES) *.gcda *.gcno