From 6fb88c6cd52b523aa8d26c5b722e7fb9432959f1 Mon Sep 17 00:00:00 2001 From: Heejin Ahn Date: Tue, 1 Dec 2020 19:00:46 -0800 Subject: [PATCH] [lld-macho] Add dependency to DebugInfoDWARF Without this `-DBUILD_SHARED_LIBS=ON` doesn't work. --- lld/MachO/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/lld/MachO/CMakeLists.txt b/lld/MachO/CMakeLists.txt index 6a8b5d3..b76c120 100644 --- a/lld/MachO/CMakeLists.txt +++ b/lld/MachO/CMakeLists.txt @@ -28,6 +28,7 @@ add_lld_library(lldMachO2 ${LLVM_TARGETS_TO_BUILD} BinaryFormat Core + DebugInfoDWARF LTO MC Object -- 2.7.4