pkg-config 0.23 PKG_CONFIG_SYSROOT_DIR bug

Paul Bender pebender at san.rr.com
Tue Jan 22 20:04:41 PST 2008


There appears to be a bug in the handling of the new 
PKG_CONFIG_SYSROOT_DIR. When PKG_CONFIG_SYSROOT_DIR is set, on the all 
but the -I and -L options are removed from --cflags and --libs 
respectively. This does not seem like the right behavior.

I have attached a patch that fixes the problem for me.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: pkg-config-0.23-sysroot.patch
Url: http://lists.freedesktop.org/archives/pkg-config/attachments/20080122/424351fe/attachment.ksh 


More information about the pkg-config mailing list