mirror of
https://github.com/monero-project/monero-gui.git
synced 2026-04-17 13:57:25 -04:00
Linux: static libgcc and libstdc++
This commit is contained in:
@@ -196,8 +196,13 @@ win32 {
|
||||
linux {
|
||||
CONFIG(static) {
|
||||
message("using static libraries")
|
||||
LIBS+= -Wl,-Bstatic
|
||||
LIBS+= -Wl,-Bstatic
|
||||
QMAKE_LFLAGS += -static-libgcc -static-libstdc++
|
||||
contains(QT_ARCH, x86_64) {
|
||||
LIBS+= -lunbound
|
||||
}
|
||||
}
|
||||
|
||||
LIBS+= \
|
||||
-lboost_serialization \
|
||||
-lboost_thread \
|
||||
@@ -210,7 +215,7 @@ linux {
|
||||
-lssl \
|
||||
-lcrypto \
|
||||
-Wl,-Bdynamic \
|
||||
-ldl
|
||||
-lGL
|
||||
# currently monero has an issue with "static" build and linunwind-dev,
|
||||
# so we link libunwind-dev only for non-Ubuntu distros
|
||||
CONFIG(libunwind_off) {
|
||||
|
||||
Reference in New Issue
Block a user