diff options
| author | MiWCryptAnalytics <MiWCryptAnalytics@gmail.com> | 2017-02-23 21:23:06 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-02-23 21:23:06 -0500 |
| commit | 20517cfd4ddfb512bc15f38f57dbca70a1af9d53 (patch) | |
| tree | 65d97fd2327ea6581696d45b58c71b9f81c8492d | |
| parent | 2e8306b341ef7fc9343b3fd6da0cb16ee42d550f (diff) | |
| download | monzero-gui-20517cfd4ddfb512bc15f38f57dbca70a1af9d53.tar.gz monzero-gui-20517cfd4ddfb512bc15f38f57dbca70a1af9d53.tar.xz monzero-gui-20517cfd4ddfb512bc15f38f57dbca70a1af9d53.zip | |
fix: add ldl to non-static linux builds
proposes a fix to add ldl conditionally on non-static build, to fix build failures
| -rw-r--r-- | monero-wallet-gui.pro | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/monero-wallet-gui.pro b/monero-wallet-gui.pro index 1b8a3624..4b114ac8 100644 --- a/monero-wallet-gui.pro +++ b/monero-wallet-gui.pro @@ -201,6 +201,9 @@ linux { contains(QT_ARCH, x86_64) { LIBS+= -lunbound } + } else { + # On some distro's we need to all dynload + LIBS+= -ldl } LIBS+= \ @@ -214,7 +217,6 @@ linux { -lboost_program_options \ -lssl \ -lcrypto \ - -ldl \ -Wl,-Bdynamic \ -lGL # currently monero has an issue with "static" build and linunwind-dev, |
