summaryrefslogtreecommitdiffstats
path: root/scripts/pkg-config-wrapper
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2006-02-24 08:02:02 +0000
committerSascha Hauer <s.hauer@pengutronix.de>2006-02-24 08:02:02 +0000
commit71ab2940e54cf87a0b0abd26f544a7532c397c3d (patch)
treedca3311d12a41fcd0ba2e66b2edcd1726f998e70 /scripts/pkg-config-wrapper
parentf54fec505b667eb3029bc8ca0720dab2ad47bff4 (diff)
downloadptxdist-71ab2940e54cf87a0b0abd26f544a7532c397c3d.tar.gz
ptxdist-71ab2940e54cf87a0b0abd26f544a7532c397c3d.tar.xz
marc said this is good
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-0.10-trunk@4744 33e552b5-05e3-0310-8538-816dae2090ed
Diffstat (limited to 'scripts/pkg-config-wrapper')
-rwxr-xr-xscripts/pkg-config-wrapper2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/pkg-config-wrapper b/scripts/pkg-config-wrapper
index c01643baa..95f26242e 100755
--- a/scripts/pkg-config-wrapper
+++ b/scripts/pkg-config-wrapper
@@ -28,7 +28,7 @@ export PKG_CONFIG_ALLOW_SYSTEM_LIBS=1
# paths leading to host libraries; using -Wl,-lfoo seems to work.
#
-OUTPUT=`$PKGCONFIG $*` || exit $?
+OUTPUT=`$PKGCONFIG --static $*` || exit $?
echo -n $OUTPUT |
sed -e "s~\-L/*$SYSROOT/*~-L=/~g; s~\-I/*$SYSROOT/*~-I=/~g;" \