aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xwrappers/cross-fix-root2
1 files changed, 1 insertions, 1 deletions
diff --git a/wrappers/cross-fix-root b/wrappers/cross-fix-root
index b440c48..08319d3 100755
--- a/wrappers/cross-fix-root
+++ b/wrappers/cross-fix-root
@@ -48,7 +48,7 @@ fi
if [ -d "${LIBDIR}/pkgconfig" ] ; then
find "./${LIBDIR}/pkgconfig/" ./usr/share/pkgconfig/ -name '*.pc' -print0 | xargs -0 -r \
- sed -i "/^prefix=/s:=.*:='${SYSROOT}/usr':"
+ sed -i -r -e "/^(exec_)?prefix=/s:=/usr\$:='${SYSROOT}/usr':"
fi
if [ -d usr/bin ] ; then