[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Dependencies of -dev packages



On Mon, Oct 24, 2005 at 05:20:16PM -0200, Henrique de Moraes Holschuh wrote:
> > > 
> > > $ 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.
> 
> For dynamic linkage.  Static, AFAIK, requires both libs.  And here lies the
> utter braindamage in pkg-config.

And pkg-config has a --static option for that, that adds more
libs, see his example.


Kurt



Reply to: