diff options
author | Mike Frysinger <vapier@gentoo.org> | 2008-11-01 02:37:55 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2008-11-01 02:37:55 -0400 |
commit | 5ad93f7381fe743ae4971d23987e74f3da39288b (patch) | |
tree | dfa8c8e9a40b0ed20b37d8795964c96837aabc81 /wrappers | |
parent | Setup PORTDIR and DISTDIR in the cross environment make.conf. Bug #244671 (diff) | |
download | crossdev-5ad93f7381fe743ae4971d23987e74f3da39288b.tar.gz crossdev-5ad93f7381fe743ae4971d23987e74f3da39288b.tar.bz2 crossdev-5ad93f7381fe743ae4971d23987e74f3da39288b.zip |
cross-pkg-config: handle /usr/share/pkgconfig
A few packages install their .pc files into /usr/share/pkgconfig. Rather
than debate whether this is broken, we can handle it pretty trivially.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'wrappers')
-rwxr-xr-x | wrappers/cross-pkg-config | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wrappers/cross-pkg-config b/wrappers/cross-pkg-config index 53e46a9..3d60695 100755 --- a/wrappers/cross-pkg-config +++ b/wrappers/cross-pkg-config @@ -49,7 +49,7 @@ unset PKG_CONFIG_ALLOW_SYSTEM_LIBS # # Set the pkg-config search paths to our staging directory. # -export PKG_CONFIG_LIBDIR="${SYSROOT}/usr/lib/pkgconfig" +export PKG_CONFIG_LIBDIR="${SYSROOT}/usr/lib/pkgconfig:${SYSROOT}/usr/share/pkgconfig" if [ -n "${EXTRA_PKG_CONFIG_LIBDIR}" ] ; then EXTRA_CONFIG_LIBDIR="${EXTRA_PKG_CONFIG_LIBDIR}:${PKG_CONFIG_LIBDIR}" fi |