From a8618b04712dc6c760a5460a44ebc647826655f1 Mon Sep 17 00:00:00 2001 From: Dimitris Apostolou Date: Sun, 12 Jan 2020 16:40:51 +0200 Subject: [PATCH] Pass -dead_strip and -dead_strip_dylibs on macOS --- monero-wallet-gui.pro | 3 +++ 1 file changed, 3 insertions(+) diff --git a/monero-wallet-gui.pro b/monero-wallet-gui.pro index 6c9057e3..2a49e2b2 100644 --- a/monero-wallet-gui.pro +++ b/monero-wallet-gui.pro @@ -381,6 +381,9 @@ macx { QT += macextras OBJECTIVE_SOURCES += src/qt/macoshelper.mm + LIBS+= -Wl,-dead_strip + LIBS+= -Wl,-dead_strip_dylibs + LIBS+= -Wl,-bind_at_load LIBS+= \ -L/usr/local/lib \ -L$$OPENSSL_LIBRARY_DIRS \