Revert "Remove the LINK_COMPONENTS entry from lldb-instr CMakery"
authorHeejin Ahn <aheejin@gmail.com>
Thu, 2 Mar 2023 20:04:27 +0000 (12:04 -0800)
committerHeejin Ahn <aheejin@gmail.com>
Wed, 22 Mar 2023 17:54:04 +0000 (10:54 -0700)
This reverts commit e12a950d90f88aeddaa97d6e7c8fd0bfedc42f73.

D142241 broke `-sBUILD_SHARED_LIBS=ON` build. After investigations in
https://github.com/llvm/llvm-project/issues/60314, the issue that
prompted D142441 now seems gone.

Fixes https://github.com/llvm/llvm-project/issues/60314.

Reviewed By: JDevlieghere

Differential Revision: https://reviews.llvm.org/D145181

lldb/tools/lldb-instr/CMakeLists.txt

index a1bbd7e..8da453b 100644 (file)
@@ -11,4 +11,6 @@ add_lldb_tool(lldb-instr
     clangSerialization
     clangTooling
 
+  LINK_COMPONENTS
+    Support
   )