From ae5bad7277f497a8b19e331dffc14c74e3db7587 Mon Sep 17 00:00:00 2001 From: Heejin Ahn Date: Mon, 7 Oct 2019 22:11:30 +0000 Subject: [PATCH] [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 llvm-svn: 373974 --- llvm/tools/llvm-lipo/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/llvm/tools/llvm-lipo/CMakeLists.txt b/llvm/tools/llvm-lipo/CMakeLists.txt index 9927857..335b286 100644 --- a/llvm/tools/llvm-lipo/CMakeLists.txt +++ b/llvm/tools/llvm-lipo/CMakeLists.txt @@ -3,6 +3,7 @@ set(LLVM_LINK_COMPONENTS Object Option Support + TextAPI ) set(LLVM_TARGET_DEFINITIONS LipoOpts.td) -- 2.7.4