From: Victor Martinez Date: Wed, 25 Aug 2010 08:42:51 +0000 (+0000) Subject: pkgadd.in: Fixed lib references to the build enviroment. X-Git-Url: http://gitweb/?a=commitdiff_plain;h=refs%2Fheads%2F2.6;p=pkgutils-cross.git pkgadd.in: Fixed lib references to the build enviroment. --- diff --git a/src/pkgmk.in b/src/pkgmk.in index 1698320..08413f6 100755 --- a/src/pkgmk.in +++ b/src/pkgmk.in @@ -309,7 +309,7 @@ fix_cross_paths() { # remove the last / from CLFS path if appeared CLFS=${CLFS%*/} - find $PKG -type f -name '*.la' -exec sed -e "s|$CLFS||g" -e "s|$CROSTOOLS/$CTARGET|/usr|g" -i {} \; + find $PKG -type f -name '*.la' -exec sed -e "s|$CLFS||g" -e "s|$CROSTOOLS/$CTARGET|/usr|g" -e "s|$CROSSTOOLS||g" -i {} \; } check_footprint() {