llvm7: find external liblldWasm and update for newest lld macho API

This commit is contained in:
Andrew Kelley 2018-06-14 18:28:42 -04:00
parent 32dd98b19f
commit 84a700f972
2 changed files with 2 additions and 1 deletions

View File

@ -33,6 +33,7 @@ else()
FIND_AND_ADD_LLD_LIB(lldELF)
FIND_AND_ADD_LLD_LIB(lldCOFF)
FIND_AND_ADD_LLD_LIB(lldMachO)
FIND_AND_ADD_LLD_LIB(lldWasm)
FIND_AND_ADD_LLD_LIB(lldReaderWriter)
FIND_AND_ADD_LLD_LIB(lldCore)
FIND_AND_ADD_LLD_LIB(lldYAML)

View File

@ -850,7 +850,7 @@ bool ZigLLDLink(ZigLLVM_ObjectFormatType oformat, const char **args, size_t arg_
return lld::elf::link(array_ref_args, false, diag);
case ZigLLVM_MachO:
return lld::mach_o::link(array_ref_args, diag);
return lld::mach_o::link(array_ref_args, false, diag);
case ZigLLVM_Wasm:
return lld::wasm::link(array_ref_args, false, diag);