From: Jose V Beneyto Date: Tue, 15 Dec 2009 19:47:27 +0000 (+0100) Subject: pkgadd-cross: added code to remove .la files X-Git-Url: http://gitweb/?a=commitdiff_plain;h=7113b148426e15b01f61992936729d4e19556aff;p=pkgutils-cross.git pkgadd-cross: added code to remove .la files --- diff --git a/pkgadd-cross b/pkgadd-cross index 564410c..e482816 100755 --- a/pkgadd-cross +++ b/pkgadd-cross @@ -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