aboutsummaryrefslogtreecommitdiff
path: root/src/qt
diff options
context:
space:
mode:
authorCory Fields <cory-nospam-@coryfields.com>2014-01-27 15:30:51 -0500
committerCory Fields <cory-nospam-@coryfields.com>2014-01-27 15:30:51 -0500
commit6986861fdaef84a59f0b4a98ef334fab20aa5710 (patch)
tree4729deb1042bdb7b61fa05f74ed62f19a04a75b3 /src/qt
parentca1913e8f64fc245157b008d6b37160306aa1d83 (diff)
build: use -mwindows for gui targets when linking with mingw
Diffstat (limited to 'src/qt')
-rw-r--r--src/qt/Makefile.am1
-rw-r--r--src/qt/test/Makefile.am1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/qt/Makefile.am b/src/qt/Makefile.am
index cac6039663..bb95c934f1 100644
--- a/src/qt/Makefile.am
+++ b/src/qt/Makefile.am
@@ -341,6 +341,7 @@ bitcoin_qt_LDADD += $(LIBBITCOIN_WALLET)
endif
bitcoin_qt_LDADD += $(LIBBITCOIN_CLI) $(LIBBITCOIN_COMMON) $(LIBLEVELDB) $(LIBMEMENV) \
$(BOOST_LIBS) $(QT_LIBS) $(QT_DBUS_LIBS) $(QR_LIBS) $(PROTOBUF_LIBS) $(BDB_LIBS)
+bitcoin_qt_LDFLAGS = $(QT_LDFLAGS)
# forms/foo.h -> forms/ui_foo.h
QT_FORMS_H=$(join $(dir $(QT_FORMS_UI)),$(addprefix ui_, $(notdir $(QT_FORMS_UI:.ui=.h))))
diff --git a/src/qt/test/Makefile.am b/src/qt/test/Makefile.am
index 00ccfadf3f..2461b5ff4d 100644
--- a/src/qt/test/Makefile.am
+++ b/src/qt/test/Makefile.am
@@ -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