aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-11-01 02:37:55 -0400
committerMike Frysinger <vapier@gentoo.org>2008-11-01 02:37:55 -0400
commit5ad93f7381fe743ae4971d23987e74f3da39288b (patch)
treedfa8c8e9a40b0ed20b37d8795964c96837aabc81
parentSetup PORTDIR and DISTDIR in the cross environment make.conf. Bug #244671 (diff)
downloadcrossdev-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>
-rwxr-xr-xwrappers/cross-pkg-config2
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