mirror of
https://github.com/GOSTSec/gostcoin
synced 2025-01-30 00:14:20 +00:00
move libdl to dynamic linking (otherwise linking error)
This commit is contained in:
parent
948d50845e
commit
fe8df45ec8
@ -433,7 +433,6 @@ macx:QMAKE_INFO_PLIST = share/qt/Info.plist
|
||||
INCLUDEPATH += $$BOOST_INCLUDE_PATH $$BDB_INCLUDE_PATH $$OPENSSL_INCLUDE_PATH $$QRENCODE_INCLUDE_PATH
|
||||
LIBS += $$join(BOOST_LIB_PATH,,-L,) $$join(BDB_LIB_PATH,,-L,) $$join(OPENSSL_LIB_PATH,,-L,) $$join(QRENCODE_LIB_PATH,,-L,)
|
||||
LIBS += -lssl -lcrypto -ldb_cxx$$BDB_LIB_SUFFIX -lz
|
||||
!win32:LIBS += -ldl
|
||||
# -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
|
||||
@ -446,5 +445,8 @@ contains(RELEASE, 1) {
|
||||
LIBS += -Wl,-Bdynamic
|
||||
}
|
||||
}
|
||||
# Add LibDL firstly here
|
||||
!win32:LIBS += -ldl
|
||||
|
||||
|
||||
system($$QMAKE_LRELEASE -silent $$TRANSLATIONS)
|
||||
|
Loading…
x
Reference in New Issue
Block a user