build.zig: omit LLVMTableGen from llvm libs

This commit is contained in:
Andrew Kelley 2021-04-15 10:58:53 -07:00
parent 2a6ec2e155
commit 68e69aae2b

View File

@ -743,7 +743,8 @@ const lld_libs = [_][]const u8{
};
// This list can be re-generated with `llvm-config --libfiles` and then
// reformatting using your favorite text editor. Note we do not execute
// `llvm-config` here because we are cross compiling.
// `llvm-config` here because we are cross compiling. Also omit LLVMTableGen
// from these libs.
const llvm_libs = [_][]const u8{
"LLVMWindowsManifest",
"LLVMXRay",
@ -895,7 +896,6 @@ const llvm_libs = [_][]const u8{
"LLVMRemarks",
"LLVMBitstreamReader",
"LLVMBinaryFormat",
"LLVMTableGen",
"LLVMSupport",
"LLVMDemangle",
};