Ville Skyttä wrote:
I suggest maintainers take this opportunity to review whether all
these
packages really need to be linked against libpng - I'm positive that the
list contains a lot of packages that don't. -Wl,--as-needed in LDFLAGS
(in addition to RPM_LD_FLAGS) is one easy way that can be applied in
many cases to get rid of unnecessary linkage bloat.
Why is this not the default in Fedora? Mandriva has been using that by
default for ages, and it shouldn't be any more invasive than the
-Wl,--no-add-needed (note: "add" != "as") change done in Fedora 13.
Kevin Kofler