From: Heejin Ahn Date: Mon, 7 Oct 2019 22:11:30 +0000 (+0000) Subject: [llvm-lipo] Add TextAPI to LINK_COMPONENTS X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ef83d68cd39c2bab1fc4a5518c24cd7441b818ae;p=llvm [llvm-lipo] Add TextAPI to LINK_COMPONENTS Summary: D68319 uses `MachO::getCPUTypeFromArchitecture` and without this builds with `-DBUILD_SHARED_LIBS=ON` fail. Reviewers: alexshap Subscribers: mgorny, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D68594 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@373974 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/tools/llvm-lipo/CMakeLists.txt b/tools/llvm-lipo/CMakeLists.txt index 992785723f0..335b286dd5f 100644 --- a/tools/llvm-lipo/CMakeLists.txt +++ b/tools/llvm-lipo/CMakeLists.txt @@ -3,6 +3,7 @@ set(LLVM_LINK_COMPONENTS Object Option Support + TextAPI ) set(LLVM_TARGET_DEFINITIONS LipoOpts.td)