CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
pkgadd.in: Fixed lib references to the build enviroment. 2.6
authorVictor Martinez <pitillo@ono.com>
Wed, 25 Aug 2010 08:42:51 +0000 (08:42 +0000)
committerVictor Martinez <pitillo@ono.com>
Wed, 25 Aug 2010 08:42:51 +0000 (08:42 +0000)
src/pkgmk.in

index 1698320147d9bfb4dfeee50f67bc1cf85ab77055..08413f6f3f960b7bef062cf381f2a78375919772 100755 (executable)
@@ -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() {