CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
src/pkgmk.in: another fix of .la files.
authorVictor Martinez <pitillo@ono.com>
Tue, 8 Jun 2010 09:47:19 +0000 (09:47 +0000)
committerVictor Martinez <pitillo@ono.com>
Tue, 8 Jun 2010 09:47:19 +0000 (09:47 +0000)
src/pkgmk.in

index 9fa7e81dcbf81a9eaf10badc17c66dfba8dc4a3c..1698320147d9bfb4dfeee50f67bc1cf85ab77055 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 "s|$CLFS||g" -i {} \;
+       find $PKG -type f -name '*.la' -exec sed -e "s|$CLFS||g" -e "s|$CROSTOOLS/$CTARGET|/usr|g" -i {} \;
 }
 
 check_footprint() {