aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNed Ludd <solar@gentoo.org>2009-11-22 22:31:58 -0500
committerMike Frysinger <vapier@gentoo.org>2009-11-22 22:32:01 -0500
commita78bdfd283ee0166f3f20398c28974e7531d8d67 (patch)
tree40014e53b5ef47def5828c92acd69b0e38cbdc87 /wrappers/cross-fix-root
parentcross-emerge: restore variable exporting (diff)
downloadcrossdev-a78bdfd283ee0166f3f20398c28974e7531d8d67.tar.gz
crossdev-a78bdfd283ee0166f3f20398c28974e7531d8d67.tar.bz2
crossdev-a78bdfd283ee0166f3f20398c28974e7531d8d67.zip
cross-fix-root: be sure to update pc_files in /usr/share/pkgconfig/ too
Signed-off-by: Ned Ludd <solar@gentoo.org> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'wrappers/cross-fix-root')
-rwxr-xr-xwrappers/cross-fix-root4
1 files changed, 2 insertions, 2 deletions
diff --git a/wrappers/cross-fix-root b/wrappers/cross-fix-root
index 08e1df0..b440c48 100755
--- a/wrappers/cross-fix-root
+++ b/wrappers/cross-fix-root
@@ -1,5 +1,5 @@
#!/bin/sh
-# Copyright 2008 Gentoo Foundation
+# Copyright 2008-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
@@ -47,7 +47,7 @@ if [ -d "${LIBDIR}" ] ; then
fi
if [ -d "${LIBDIR}/pkgconfig" ] ; then
- find "./${LIBDIR}/pkgconfig/" -name '*.pc' -print0 | xargs -0 -r \
+ find "./${LIBDIR}/pkgconfig/" ./usr/share/pkgconfig/ -name '*.pc' -print0 | xargs -0 -r \
sed -i "/^prefix=/s:=.*:='${SYSROOT}/usr':"
fi