Author: Martin Storsjö Date: 2026-03-21T15:16:43+02:00 New Revision: 3b9106149c6867494049d7af4958eebeec5e2393
URL: https://github.com/llvm/llvm-project/commit/3b9106149c6867494049d7af4958eebeec5e2393 DIFF: https://github.com/llvm/llvm-project/commit/3b9106149c6867494049d7af4958eebeec5e2393.diff LOG: [lldb] Fix linking liblldb in a dylib build after 39d6bb21804d21ab Referencing libSupportHTTP under LINK_LIBS of add_lldb_library() pulls in the static archive even in a build configuration with LLVM_LINK_LLVM_DYLIB=On, where libSupportHTTP is part of libLLVM. This patch moves it to LINK_COMPONENTS to fix the issue. This is the same fix as in 036429881f8d3037894042c6268b2a94eac8c950, applied on another library. Added: Modified: lldb/source/Plugins/SymbolLocator/SymStore/CMakeLists.txt Removed: ################################################################################ diff --git a/lldb/source/Plugins/SymbolLocator/SymStore/CMakeLists.txt b/lldb/source/Plugins/SymbolLocator/SymStore/CMakeLists.txt index 775e0284cd8af..118b91f39cfe2 100644 --- a/lldb/source/Plugins/SymbolLocator/SymStore/CMakeLists.txt +++ b/lldb/source/Plugins/SymbolLocator/SymStore/CMakeLists.txt @@ -13,7 +13,9 @@ add_lldb_library(lldbPluginSymbolLocatorSymStore PLUGIN lldbCore lldbHost lldbSymbol - LLVMSupportHTTP + + LINK_COMPONENTS + SupportHTTP ) add_dependencies(lldbPluginSymbolLocatorSymStore _______________________________________________ lldb-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
