Merge pull request #682 from TheBlueMatt/gdicrypto
Move -lgdi32 after -lcrypto (fixes #681)
This commit is contained in:
commit
f66eabd281
1 changed files with 3 additions and 1 deletions
|
@ -251,7 +251,7 @@ isEmpty(BOOST_INCLUDE_PATH) {
|
||||||
macx:BOOST_INCLUDE_PATH = /opt/local/include
|
macx:BOOST_INCLUDE_PATH = /opt/local/include
|
||||||
}
|
}
|
||||||
|
|
||||||
windows:LIBS += -lws2_32 -lgdi32
|
windows:LIBS += -lws2_32
|
||||||
windows:DEFINES += WIN32
|
windows:DEFINES += WIN32
|
||||||
windows:RC_FILE = src/qt/res/bitcoin-qt.rc
|
windows:RC_FILE = src/qt/res/bitcoin-qt.rc
|
||||||
|
|
||||||
|
@ -266,6 +266,8 @@ macx:TARGET = "Bitcoin-Qt"
|
||||||
INCLUDEPATH += $$BOOST_INCLUDE_PATH $$BDB_INCLUDE_PATH $$OPENSSL_INCLUDE_PATH
|
INCLUDEPATH += $$BOOST_INCLUDE_PATH $$BDB_INCLUDE_PATH $$OPENSSL_INCLUDE_PATH
|
||||||
LIBS += $$join(BOOST_LIB_PATH,,-L,) $$join(BDB_LIB_PATH,,-L,) $$join(OPENSSL_LIB_PATH,,-L,)
|
LIBS += $$join(BOOST_LIB_PATH,,-L,) $$join(BDB_LIB_PATH,,-L,) $$join(OPENSSL_LIB_PATH,,-L,)
|
||||||
LIBS += -lssl -lcrypto -ldb_cxx$$BDB_LIB_SUFFIX
|
LIBS += -lssl -lcrypto -ldb_cxx$$BDB_LIB_SUFFIX
|
||||||
|
# -lgdi32 has to happen after -lcrypto (see #681)
|
||||||
|
windows:LIBS += -lgdi32
|
||||||
LIBS += -lboost_system$$BOOST_LIB_SUFFIX -lboost_filesystem$$BOOST_LIB_SUFFIX -lboost_program_options$$BOOST_LIB_SUFFIX -lboost_thread$$BOOST_THREAD_LIB_SUFFIX
|
LIBS += -lboost_system$$BOOST_LIB_SUFFIX -lboost_filesystem$$BOOST_LIB_SUFFIX -lboost_program_options$$BOOST_LIB_SUFFIX -lboost_thread$$BOOST_THREAD_LIB_SUFFIX
|
||||||
|
|
||||||
contains(RELEASE, 1) {
|
contains(RELEASE, 1) {
|
||||||
|
|
Loading…
Reference in a new issue