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:
MiWCryptAnalytics 2017-02-23 21:23:06 -05:00 committed by GitHub
parent 2e8306b341
commit 20517cfd4d

View file

@ -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,