blob: 5ae07d1aa5ad6dcfa2e399e7f9ff8ea993d1542e [file] [log] [blame]
executable("llvm-jitlink") {
deps = [
"//llvm/lib/BinaryFormat",
"//llvm/lib/ExecutionEngine",
"//llvm/lib/ExecutionEngine/JITLink",
"//llvm/lib/ExecutionEngine/Orc",
"//llvm/lib/ExecutionEngine/RuntimeDyld",
"//llvm/lib/MC",
"//llvm/lib/Object",
"//llvm/lib/Support",
"//llvm/lib/Target:TargetsToBuild",
"//llvm/lib/TargetParser",
]
sources = [
"llvm-jitlink-coff.cpp",
"llvm-jitlink-elf.cpp",
"llvm-jitlink-macho.cpp",
"llvm-jitlink.cpp",
]
if (host_os != "mac" && host_os != "win") {
# Corresponds to export_executable_symbols() in cmake.
ldflags = [ "-rdynamic" ]
}
}