Re: Dependencies of -dev packages
On Mon, Oct 24, 2005 at 02:03:51PM +0200, Gabor Gombas wrote:
> On Fri, Oct 21, 2005 at 07:15:38PM +0200, Kurt Roeckx wrote:
>
> 3D
> > Pretty please don't suggest that unless you first fix pkg-config.
> > It's always linking in the libraries required for static linking
> > even if you don't request it. See for instance bug #254290,
> > which was closed, but didn't really do what the original patch
> > did.
>
> What needs fixing? I did not have time to guess what the completely
> undocumented patch in #254290 does, so I did a little experiment:
>
> $ pkg-config --libs a
> -la -lb
^^^
It should not link to libb if you only request it to link to
liba. liba should have a DT_NEEDED for libb, and the linker
should find the symbols liba needs from libb itself.
Kurt
Reply to: