aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile.qt.include
diff options
context:
space:
mode:
authorChun Kuan Lee <ken2812221@gmail.com>2018-11-08 05:02:58 +0800
committerChun Kuan Lee <ken2812221@gmail.com>2018-11-08 05:03:14 +0800
commit7a90b1b9d8d3297959c2d339192d8c90fb632db6 (patch)
tree1a98eee9cba0eede387bc220d3093d6868968a0a /src/Makefile.qt.include
parent11e1ac3ae08535cefbd8235a8deb6cd100bcb2b1 (diff)
build: Fix windows build error if `--disable-bip70`
Diffstat (limited to 'src/Makefile.qt.include')
-rw-r--r--src/Makefile.qt.include4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Makefile.qt.include b/src/Makefile.qt.include
index 3ca2a7451d..e3eb01304f 100644
--- a/src/Makefile.qt.include
+++ b/src/Makefile.qt.include
@@ -421,6 +421,10 @@ qt_bitcoin_qt_LDADD += $(LIBBITCOIN_CLI) $(LIBBITCOIN_COMMON) $(LIBBITCOIN_UTIL)
$(EVENT_PTHREADS_LIBS) $(EVENT_LIBS)
if ENABLE_BIP70
qt_bitcoin_qt_LDADD += $(SSL_LIBS)
+else
+if TARGET_WINDOWS
+qt_bitcoin_qt_LDADD += $(SSL_LIBS)
+endif
endif
qt_bitcoin_qt_LDADD += $(CRYPTO_LIBS)
qt_bitcoin_qt_LDFLAGS = $(RELDFLAGS) $(AM_LDFLAGS) $(QT_LDFLAGS) $(LIBTOOL_APP_LDFLAGS)