Created attachment 381072 [details, diff] cross-pkg-config: require 0.24 and use PKG_CONFIG_SYSROOT_DIR The bug with PKG_CONFIG_SYSROOT_DIR was fixed long ago and the replacement code doesn't translate paths outside of /usr, causing the wrapper to abort when it looks up a library installed in /lib. pkg-config's PKG_CONFIG_SYSROOT_DIR does handle /lib or /lib64 properly so lets use it. :)
i've rewritten the pkg-config logic a bit and it relies on this var now. thanks! http://git.overlays.gentoo.org/gitweb/?p=proj/crossdev.git;a=commitdiff;h=b800ebdbe6e8d22701d1203a298bdba92a735f49 http://git.overlays.gentoo.org/gitweb/?p=proj/crossdev.git;a=commitdiff;h=a8d5eab601c99724dec4dae611d1cb316f92318d