strip-llvm: Remove all libLLVM*.a

46efff459a regressed this aspect,
where libLLVM-<version>.{so,dylib,dll} was meant to be kept, but
also ended up keeping libLLVM<name>.a. (This only matters if trying
to strip a build done with --full-llvm.)
This commit is contained in:
Martin Storsjö committed 2022-08-11 16:00:13 +03:00
1 parent eccf5de7e7
commit c9d406e44a
1 file changed
+2 -1
+2 -1
View File
@@ -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*)
;;