Fix shared build

Summary:
We were not tracking -DBUILD_SHARED_LIBS=ON and we introduced
some commits that break that by not specifying the correct dependencies.
Fix that.

(cherry picked from FBD32453377)
This commit is contained in:
Rafael Auler 2021-11-15 20:01:48 -08:00 committed by Maksim Panchenko
parent 2f3285989e
commit 2ccea6eac3
2 changed files with 2 additions and 0 deletions

View File

@ -1,6 +1,7 @@
set(LLVM_LINK_COMPONENTS
BOLTUtils
DebugInfoDWARF
Demangle
MC
Object
Support

View File

@ -49,6 +49,7 @@ add_llvm_library(LLVMBOLTPasses
${LLVM_PTHREAD_LIB}
LINK_COMPONENTS
AsmPrinter
BOLTCore
BOLTUtils
MC