From 7113b148426e15b01f61992936729d4e19556aff Mon Sep 17 00:00:00 2001 From: Jose V Beneyto Date: Tue, 15 Dec 2009 20:47:27 +0100 Subject: [PATCH] pkgadd-cross: added code to remove .la files --- pkgadd-cross | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.26.2