1
0
mirror of https://github.com/GOSTSec/gostcoin synced 2025-01-27 06:54:21 +00:00

makefile/pro: link boost_chrono

Fixes build failure due to undefined symbol (tested on Arch Linux).
This commit is contained in:
redfish 2018-07-22 00:04:49 -04:00
parent 1486da94dc
commit 7095e61aab
3 changed files with 7 additions and 1 deletions

View File

@ -454,7 +454,11 @@ LIBS += $$join(BOOST_LIB_PATH,,-L,) $$join(BDB_LIB_PATH,,-L,) $$join(OPENSSL_LIB
LIBS += -lssl -lcrypto -ldb_cxx$$BDB_LIB_SUFFIX -lz
# -lgdi32 has to happen after -lcrypto (see #681)
win32:LIBS += -lws2_32 -lshlwapi -lmswsock -lole32 -loleaut32 -luuid -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 \
-lboost_chrono$$BOOST_THREAD_LIB_SUFFIX
win32|macx {
LIBS += -lboost_chrono$$BOOST_LIB_SUFFIX

View File

@ -38,6 +38,7 @@ LIBS += \
-l boost_filesystem$(BOOST_LIB_SUFFIX) \
-l boost_program_options$(BOOST_LIB_SUFFIX) \
-l boost_thread$(BOOST_LIB_SUFFIX) \
-l boost_chrono$(BOOST_LIB_SUFFIX) \
-l db_cxx$(BDB_LIB_SUFFIX) \
-l ssl \
-l crypto

View File

@ -34,6 +34,7 @@ LIBS += \
-lboost_filesystem$(BOOST_LIB_SUFFIX) \
-lboost_program_options$(BOOST_LIB_SUFFIX) \
-lboost_thread$(BOOST_LIB_SUFFIX) \
-lboost_chrono$(BOOST_LIB_SUFFIX) \
-ldb_cxx$(BDB_LIB_SUFFIX) \
-lssl \
-lcrypto