unused dependencies of shared libraries

Christopher Halse Rogers chalserogers at gmail.com
Tue Apr 15 06:50:00 UTC 2008


On 4/15/08, Serhat <ubunturk at gmail.com> wrote:
...
>  ps: afaik, for most foss programs, when compiling a package from
>  source, just adding LDFLAGS='-Wl,-O1,--as-needed' to the ./configure
>  command eliminates unused dependencies.
>
And can break some software in unpredictable ways when applied
distro-wide, IIUC.  This is also being talked about in Debian, where
there's a push to clean up the pkgconfig files - preventing the
unneeded linking in the first place, and dpkg has recently been
changed to complain about unused linkages when building packages.
Things are being done about this :).




More information about the Ubuntu-devel-discuss mailing list