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 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]