[ https://issues.apache.org/jira/browse/TS-1878?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
James Peach updated TS-1878: ---------------------------- Description: We should pass {{-Wl,-as-needed}} to the linker on Linux to get it to strip unused libraries. The equivalent Darwin option is {{-Wl,-dead_strip_dylibs}}. See also: http://www.gentoo.org/proj/en/qa/asneeded.xml http://sigquit.wordpress.com/2011/02/16/why-asneeded-doesnt-work-as-expected-for-your-libraries-on-your-autotools-project/ was: We should pass {{-Wl,--as-needed}} to the linker on Linux to get it to strip unused libraries. The equivalent Darwin option is {{-Wl,-dead_strip_dylibs}}. See also: http://www.gentoo.org/proj/en/qa/asneeded.xml http://sigquit.wordpress.com/2011/02/16/why-asneeded-doesnt-work-as-expected-for-your-libraries-on-your-autotools-project/ > link libraries as needed on linux > --------------------------------- > > Key: TS-1878 > URL: https://issues.apache.org/jira/browse/TS-1878 > Project: Traffic Server > Issue Type: Improvement > Components: Build > Reporter: James Peach > > We should pass {{-Wl,-as-needed}} to the linker on Linux to get it to strip > unused libraries. The equivalent Darwin option is {{-Wl,-dead_strip_dylibs}}. > See also: > http://www.gentoo.org/proj/en/qa/asneeded.xml > > http://sigquit.wordpress.com/2011/02/16/why-asneeded-doesnt-work-as-expected-for-your-libraries-on-your-autotools-project/ -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira