forked from OSchip/llvm-project
Fix the CMake shared build.
The ELF backends now depend on lld::script::Sema, which is in libReaderWriter. Link it explicitly. llvm-svn: 232953
This commit is contained in:
parent
30b8cd331e
commit
e13f47e8aa
|
@ -4,8 +4,9 @@ add_llvm_library(lldAArch64ELFTarget
|
|||
AArch64RelocationHandler.cpp
|
||||
AArch64RelocationPass.cpp
|
||||
LINK_LIBS
|
||||
lldCore
|
||||
lldELF
|
||||
lldReaderWriter
|
||||
lldCore
|
||||
LLVMObject
|
||||
LLVMSupport
|
||||
)
|
||||
|
|
|
@ -4,8 +4,9 @@ add_llvm_library(lldARMELFTarget
|
|||
ARMRelocationHandler.cpp
|
||||
ARMRelocationPass.cpp
|
||||
LINK_LIBS
|
||||
lldCore
|
||||
lldELF
|
||||
lldReaderWriter
|
||||
lldCore
|
||||
LLVMObject
|
||||
LLVMSupport
|
||||
)
|
||||
|
|
|
@ -3,6 +3,7 @@ add_llvm_library(lldELF
|
|||
Reader.cpp
|
||||
Writer.cpp
|
||||
LINK_LIBS
|
||||
lldReaderWriter
|
||||
lldCore
|
||||
lldYAML
|
||||
LLVMSupport
|
||||
|
|
|
@ -3,8 +3,9 @@ add_llvm_library(lldHexagonELFTarget
|
|||
HexagonRelocationHandler.cpp
|
||||
HexagonTargetHandler.cpp
|
||||
LINK_LIBS
|
||||
lldCore
|
||||
lldELF
|
||||
lldReaderWriter
|
||||
lldCore
|
||||
LLVMObject
|
||||
LLVMSupport
|
||||
)
|
||||
|
|
|
@ -6,8 +6,9 @@ add_llvm_library(lldMipsELFTarget
|
|||
MipsRelocationPass.cpp
|
||||
MipsTargetHandler.cpp
|
||||
LINK_LIBS
|
||||
lldCore
|
||||
lldELF
|
||||
lldReaderWriter
|
||||
lldCore
|
||||
LLVMObject
|
||||
LLVMSupport
|
||||
)
|
||||
|
|
|
@ -3,8 +3,9 @@ add_llvm_library(lldX86ELFTarget
|
|||
X86TargetHandler.cpp
|
||||
X86RelocationHandler.cpp
|
||||
LINK_LIBS
|
||||
lldCore
|
||||
lldELF
|
||||
lldReaderWriter
|
||||
lldCore
|
||||
LLVMObject
|
||||
LLVMSupport
|
||||
)
|
||||
|
|
|
@ -4,8 +4,9 @@ add_llvm_library(lldX86_64ELFTarget
|
|||
X86_64RelocationHandler.cpp
|
||||
X86_64RelocationPass.cpp
|
||||
LINK_LIBS
|
||||
lldCore
|
||||
lldELF
|
||||
lldReaderWriter
|
||||
lldCore
|
||||
LLVMObject
|
||||
LLVMSupport
|
||||
)
|
||||
|
|
|
@ -3,4 +3,9 @@ add_llvm_library(lldExampleSubTarget
|
|||
ExampleTargetHandler.cpp
|
||||
LINK_LIBS
|
||||
lldX86_64ELFTarget
|
||||
lldELF
|
||||
lldReaderWriter
|
||||
lldCore
|
||||
LLVMObject
|
||||
LLVMSupport
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue