]> granicus.if.org Git - llvm/commitdiff
[llvm-lipo] Add TextAPI to LINK_COMPONENTS
authorHeejin Ahn <aheejin@gmail.com>
Mon, 7 Oct 2019 22:11:30 +0000 (22:11 +0000)
committerHeejin Ahn <aheejin@gmail.com>
Mon, 7 Oct 2019 22:11:30 +0000 (22:11 +0000)
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

tools/llvm-lipo/CMakeLists.txt

index 992785723f03e308c19d7b11a62bc72123486f1f..335b286dd5f5e4184920796ea1217e8992ea8b02 100644 (file)
@@ -3,6 +3,7 @@ set(LLVM_LINK_COMPONENTS
   Object
   Option
   Support
+  TextAPI
 )
 
 set(LLVM_TARGET_DEFINITIONS LipoOpts.td)