You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Susan Hinrichs (JIRA)" <ji...@apache.org> on 2014/11/05 18:21:34 UTC

[jira] [Updated] (TS-1878) link libraries as needed on linux

     [ https://issues.apache.org/jira/browse/TS-1878?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Susan Hinrichs updated TS-1878:
-------------------------------
    Fix Version/s:     (was: 5.2.0)
                   6.0.0

> 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
>            Assignee: James Peach
>            Priority: Minor
>              Labels: newbie
>             Fix For: 6.0.0
>
>
> 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 was sent by Atlassian JIRA
(v6.3.4#6332)