From c9d406e44a65844148bb9c33b596fe6d5d3896ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Storsj=C3=B6?= Date: Wed, 20 Jul 2022 22:56:43 +0300 Subject: [PATCH] strip-llvm: Remove all libLLVM*.a 46efff459a2665bb92d5aac407f23949b23f65fd regressed this aspect, where libLLVM-.{so,dylib,dll} was meant to be kept, but also ended up keeping libLLVM.a. (This only matters if trying to strip a build done with --full-llvm.) --- strip-llvm.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/strip-llvm.sh b/strip-llvm.sh index 721a2ec..21e2d05 100755 --- a/strip-llvm.sh +++ b/strip-llvm.sh @@ -123,7 +123,8 @@ rm -rf clang clang-c clang-tidy lld llvm llvm-c lldb cd .. cd lib rm -f *.dll.a -for i in lib*.a *.so* *.dylib* cmake; do +rm -f lib*.a +for i in *.so* *.dylib* cmake; do case $i in liblldb*|libclang-cpp*|libLLVM*) ;;