From a0fcf593486eb518bbe90076b50b959b78c639eb Mon Sep 17 00:00:00 2001 From: MoroccanMalinois Date: Fri, 24 Feb 2017 16:29:35 +0000 Subject: [PATCH] do not use -lGL for android --- monero-wallet-gui.pro | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/monero-wallet-gui.pro b/monero-wallet-gui.pro index 61b682b3..33f3a145 100644 --- a/monero-wallet-gui.pro +++ b/monero-wallet-gui.pro @@ -216,9 +216,13 @@ linux { -lboost_chrono \ -lboost_program_options \ -lssl \ - -lcrypto \ - -Wl,-Bdynamic \ - -lGL + -lcrypto + + if(!android) { + LIBS+= \ + -Wl,-Bdynamic \ + -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) {