Pass -dead_strip -dead_strip_dylibs -bind_at_load on macOS

This commit is contained in:
Dimitris Apostolou 2020-02-21 09:12:57 +02:00
parent 91919c6d64
commit 5c308026ac
No known key found for this signature in database
GPG Key ID: 4B5D20E938204A8A

View File

@ -210,6 +210,9 @@ macx {
LIBS += $$BOOSTROOT/lib/libboost_filesystem.a
LIBS += $$BOOSTROOT/lib/libboost_program_options.a
LIBS += $$UPNPROOT/lib/libminiupnpc.a
LIBS += -Wl,-dead_strip
LIBS += -Wl,-dead_strip_dylibs
LIBS += -Wl,-bind_at_load
}
linux:!android {