[ORC] Add BitReader/BitWriter to target_link_libraries

Summary:
CompileOnDemandLayer.cpp uses function in these libraries, and builds
with `-DSHARED_LIB=ON` fail without this.

Reviewers: lhames

Subscribers: mgorny, llvm-commits

Differential Revision: https://reviews.llvm.org/D48995

llvm-svn: 336389
This commit is contained in:
Heejin Ahn 2018-07-05 21:23:15 +00:00
parent 284c5f342c
commit e69ba6e6d5
1 changed files with 6 additions and 0 deletions

View File

@ -23,3 +23,9 @@ add_llvm_library(LLVMOrcJIT
DEPENDS
intrinsics_gen
)
target_link_libraries(LLVMOrcJIT
PRIVATE
LLVMBitReader
LLVMBitWriter
)