Skip to content

Commit

Permalink
Merge pull request #1474 from rex4539/dead-strip
Browse files Browse the repository at this point in the history
Pass -dead_strip -dead_strip_dylibs -bind_at_load on macOS
  • Loading branch information
r4sas authored Feb 24, 2020
2 parents 91919c6 + 5c30802 commit d09c3cc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions qt/i2pd_qt/i2pd_qt.pro
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit d09c3cc

Please sign in to comment.