recursive --libs

Paul Bender pebender at
Fri Feb 22 18:03:33 PST 2008

Alejandro Mery wrote:
> Hello,
> when I saw the announcement about PKG_CONFIG_SYSROOT_DIR I got very
> excited and I finally saw an alternative to cross compile a
> mostly complete desktop.
> Changed "my" building system to wipe out the broken by nature .la files
> and started building... small fixes here, small fixes there, and
> everything went well (after applying Paul Bender's fix of course) until
> I realised `pkg-config --libs foo` is not returning the info from the
> dependencies. Is this the expected behaviour or a bug? If this is the
> expected behaviour, are you open to change it? :-)
> Also, where is pkg-config's repository? the page points to 
> which is empty.
> TIA,
> Alejandro Mery

I am using the new pkg-config in my cross compile environment for 
building MiniMyth and I am not seeing this. For example, when I run

pkg-config --libs ext2fs

it returns the the libraries for com_err as well as the libraries for 
ext2fs because ext2fs depends on com_err.

More information about the pkg-config mailing list