From 27e9db8eb671b50c752f5c2a4112438736970058 Mon Sep 17 00:00:00 2001 From: Dimitris Apostolou Date: Sun, 12 Jan 2020 17:51:27 +0200 Subject: [PATCH 1/2] Pass -dead_strip and -dead_strip_dylibs --- zecwallet-lite.pro | 3 +++ 1 file changed, 3 insertions(+) diff --git a/zecwallet-lite.pro b/zecwallet-lite.pro index c067fb5d..3bb574d5 100644 --- a/zecwallet-lite.pro +++ b/zecwallet-lite.pro @@ -27,6 +27,9 @@ DEFINES += \ INCLUDEPATH += src/3rdparty/ INCLUDEPATH += src/ +LIBS+= -Wl,-dead_strip +LIBS+= -Wl,-dead_strip_dylibs + RESOURCES = application.qrc MOC_DIR = bin From cef0ff53da5385ba11d430c3d2a20fce686eab73 Mon Sep 17 00:00:00 2001 From: Dimitris Apostolou Date: Sun, 12 Jan 2020 23:04:55 +0200 Subject: [PATCH 2/2] Pass -bind_at_load --- zecwallet-lite.pro | 1 + 1 file changed, 1 insertion(+) diff --git a/zecwallet-lite.pro b/zecwallet-lite.pro index 3bb574d5..4c3649df 100644 --- a/zecwallet-lite.pro +++ b/zecwallet-lite.pro @@ -29,6 +29,7 @@ INCLUDEPATH += src/ LIBS+= -Wl,-dead_strip LIBS+= -Wl,-dead_strip_dylibs +LIBS+= -Wl,-bind_at_load RESOURCES = application.qrc