CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
pkgadd-cross: added code to remove .la files
authorJose V Beneyto <sepen@crux.nu>
Tue, 15 Dec 2009 19:47:27 +0000 (20:47 +0100)
committerJose V Beneyto <sepen@crux.nu>
Tue, 15 Dec 2009 19:47:27 +0000 (20:47 +0100)
pkgadd-cross

index 564410cda07b856f76081499313408d45876f20d..e4828165411ba713fc20f960a0f37f10cfb2cccc 100755 (executable)
@@ -14,4 +14,8 @@ fi
 
 $PKGADD -r $CLFS $@
 
+# we shoudl avoid .la files when crosscompiling, these files
+# contains the libdir variable hardcoded which is used by libtool
+[ $? -eq 0 ] && find $CLFS -type f -name '*.la' -delete
+
 # End of file