Browse Source

Restore modules needed for compiling with Clang

Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
pull/1288/head
Dimitar Dobrev 6 years ago committed by João Matos
parent
commit
067827cf29
  1. 2
      build/scripts/LLVM.lua

2
build/scripts/LLVM.lua

@ -410,13 +410,11 @@ function package_llvm(conf, llvm_base, llvm_build) @@ -410,13 +410,11 @@ function package_llvm(conf, llvm_base, llvm_build)
local out_lib_dir = out .. "/build/lib"
if os.ishost("windows") then
os.rmfiles(out_lib_dir, "LLVM*ObjCARCOpts*.lib")
os.rmfiles(out_lib_dir, "clang*ARC*.lib")
os.rmfiles(out_lib_dir, "clang*Matchers*.lib")
os.rmfiles(out_lib_dir, "clang*Rewrite*.lib")
os.rmfiles(out_lib_dir, "clang*StaticAnalyzer*.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")

Loading…
Cancel
Save