mirror of
https://github.com/twisterarmy/twister-core.git
synced 2025-01-22 20:44:56 +00:00
Add option to specify a different suffix for boost_thread.
This commit is contained in:
parent
0767e69199
commit
0e569e4a27
@ -7,6 +7,8 @@ CONFIG += no_include_pwd
|
|||||||
|
|
||||||
# for boost 1.37, add -mt to the boost libraries
|
# for boost 1.37, add -mt to the boost libraries
|
||||||
# use: qmake BOOST_LIB_SUFFIX=-mt
|
# use: qmake BOOST_LIB_SUFFIX=-mt
|
||||||
|
# for boost thread win32 with _win32 sufix
|
||||||
|
# use: BOOST_THREAD_LIB_SUFFIX=_win32-...
|
||||||
# or when linking against a specific BerkelyDB version: BDB_LIB_SUFFIX=-4.8
|
# or when linking against a specific BerkelyDB version: BDB_LIB_SUFFIX=-4.8
|
||||||
|
|
||||||
# Dependency library locations can be customized with BOOST_INCLUDE_PATH,
|
# Dependency library locations can be customized with BOOST_INCLUDE_PATH,
|
||||||
@ -202,6 +204,10 @@ isEmpty(BOOST_LIB_SUFFIX) {
|
|||||||
windows:BOOST_LIB_SUFFIX = -mgw44-mt-1_43
|
windows:BOOST_LIB_SUFFIX = -mgw44-mt-1_43
|
||||||
}
|
}
|
||||||
|
|
||||||
|
isEmpty(BOOST_THREAD_LIB_SUFFIX) {
|
||||||
|
BOOST_THREAD_LIB_SUFFIX = $$BOOST_LIB_SUFFIX
|
||||||
|
}
|
||||||
|
|
||||||
isEmpty(BDB_LIB_PATH) {
|
isEmpty(BDB_LIB_PATH) {
|
||||||
macx:BDB_LIB_PATH = /opt/local/lib/db48
|
macx:BDB_LIB_PATH = /opt/local/lib/db48
|
||||||
}
|
}
|
||||||
@ -237,6 +243,6 @@ 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
|
||||||
LIBS += -lboost_system$$BOOST_LIB_SUFFIX -lboost_filesystem$$BOOST_LIB_SUFFIX -lboost_program_options$$BOOST_LIB_SUFFIX -lboost_thread$$BOOST_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
|
||||||
|
|
||||||
system($$QMAKE_LRELEASE -silent $$_PRO_FILE_)
|
system($$QMAKE_LRELEASE -silent $$_PRO_FILE_)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user