From 751edf7488891527ad0a1a3ebdadcc359fb1a174 Mon Sep 17 00:00:00 2001 From: Joao Matos Date: Fri, 25 Jan 2019 13:01:18 +0000 Subject: [PATCH] Keep Clang libTooling libs when packaging LLVM. --- build/scripts/LLVM.lua | 2 -- 1 file changed, 2 deletions(-) diff --git a/build/scripts/LLVM.lua b/build/scripts/LLVM.lua index 623e4437..6dc20629 100644 --- a/build/scripts/LLVM.lua +++ b/build/scripts/LLVM.lua @@ -418,14 +418,12 @@ function package_llvm(conf, llvm, llvm_build) os.rmfiles(out_lib_dir, "clang*Matchers*.lib") os.rmfiles(out_lib_dir, "clang*Rewrite*.lib") os.rmfiles(out_lib_dir, "clang*StaticAnalyzer*.lib") - os.rmfiles(out_lib_dir, "clang*Tooling*.lib") else os.rmfiles(out_lib_dir, "libllvm*ObjCARCOpts*.a") os.rmfiles(out_lib_dir, "libclang*ARC*.a") os.rmfiles(out_lib_dir, "libclang*Matchers*.a") os.rmfiles(out_lib_dir, "libclang*Rewrite*.a") os.rmfiles(out_lib_dir, "libclang*StaticAnalyzer*.a") - os.rmfiles(out_lib_dir, "libclang*Tooling*.a") end return out