mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-11-17 08:17:59 +00:00
fix: add ldl to non-static linux builds
proposes a fix to add ldl conditionally on non-static build, to fix build failures
This commit is contained in:
parent
2e8306b341
commit
20517cfd4d
1 changed files with 3 additions and 1 deletions
|
@ -201,6 +201,9 @@ linux {
|
||||||
contains(QT_ARCH, x86_64) {
|
contains(QT_ARCH, x86_64) {
|
||||||
LIBS+= -lunbound
|
LIBS+= -lunbound
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
# On some distro's we need to all dynload
|
||||||
|
LIBS+= -ldl
|
||||||
}
|
}
|
||||||
|
|
||||||
LIBS+= \
|
LIBS+= \
|
||||||
|
@ -214,7 +217,6 @@ linux {
|
||||||
-lboost_program_options \
|
-lboost_program_options \
|
||||||
-lssl \
|
-lssl \
|
||||||
-lcrypto \
|
-lcrypto \
|
||||||
-ldl \
|
|
||||||
-Wl,-Bdynamic \
|
-Wl,-Bdynamic \
|
||||||
-lGL
|
-lGL
|
||||||
# currently monero has an issue with "static" build and linunwind-dev,
|
# currently monero has an issue with "static" build and linunwind-dev,
|
||||||
|
|
Loading…
Reference in a new issue