Mike Hearn (mike(a)navi.cx) said:
> libtool.. bigger question. But we can get pkg-config to do this
right if we
> spend 2 days on it.
This was already discussed on xdg-list and by James Henstridge. Pkg-config
and libtool aren't broken, they do this for portability. The GNU linker
doesn't need you to enumerate every library in the image but some
(unbelievably) do.
Pkg-config files can't contain --as-needed directly because it's not
portable also.
Whyever on earth not?
The upstream distributed pkg-config files, sure.
But if you have a local pkg-config file for the current linker,
the vagaries of the Solaris linker are completely irrelevant.
Bill