summaryrefslogtreecommitdiffstats
path: root/scripts/pkg-config-wrapper
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2006-03-29 14:00:27 +0000
committerMarc Kleine-Budde <mkl@pengutronix.de>2006-03-29 14:00:27 +0000
commit9c0e05e0855556657c2919f82981c5edc1532b4f (patch)
treed82ae00fe9a1df46af5c0542feb4a642eb14c9f8 /scripts/pkg-config-wrapper
parentee69283862fc2012f9b8eecfbb1dd616f24afb2d (diff)
downloadptxdist-9c0e05e0855556657c2919f82981c5edc1532b4f.tar.gz
ptxdist-9c0e05e0855556657c2919f82981c5edc1532b4f.tar.xz
* pkg-config-wrapper:
use PKG_CONFIG_LIBDIR, not PKG_CONFIG_PATH stops leaking in .pc files from the host git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-0.10-trunk@5289 33e552b5-05e3-0310-8538-816dae2090ed
Diffstat (limited to 'scripts/pkg-config-wrapper')
-rwxr-xr-xscripts/pkg-config-wrapper7
1 files changed, 3 insertions, 4 deletions
diff --git a/scripts/pkg-config-wrapper b/scripts/pkg-config-wrapper
index c01643baa..dc3a20364 100755
--- a/scripts/pkg-config-wrapper
+++ b/scripts/pkg-config-wrapper
@@ -11,12 +11,11 @@ if [ \! "$SYSROOT" ]; then
exit 2
fi
-#if [ ! "$PKG_CONFIG_LIBDIR" ]; then
-# export PKG_CONFIG_LIBDIR=$SYSROOT/usr/pkgconfig/
-#fi
+if [ ! "$PKG_CONFIG_LIBDIR" ]; then
+ export PKG_CONFIG_LIBDIR=$SYSROOT/lib/pkgconfig:$SYSROOT/usr/lib/pkgconfig
+fi
export PKG_CONFIG_LIBDIR
-export PKG_CONFIG_PATH
export PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1
export PKG_CONFIG_ALLOW_SYSTEM_LIBS=1