From 20517cfd4ddfb512bc15f38f57dbca70a1af9d53 Mon Sep 17 00:00:00 2001 From: MiWCryptAnalytics <MiWCryptAnalytics@gmail.com> Date: Thu, 23 Feb 2017 21:23:06 -0500 Subject: [PATCH] fix: add ldl to non-static linux builds proposes a fix to add ldl conditionally on non-static build, to fix build failures --- monero-wallet-gui.pro | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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,