[Lldb-commits] [clang] [lldb] [llvm] [cmake] Add support for statically linking libxml2 (PR #166867)
Hans Wennborg via lldb-commits
lldb-commits at lists.llvm.org
Fri Dec 5 01:21:48 PST 2025
================
@@ -154,7 +154,7 @@ if (CMAKE_SYSTEM_NAME MATCHES "NetBSD")
list(APPEND EXTRA_LIBS kvm)
endif()
if (LLDB_ENABLE_LIBXML2)
- list(APPEND EXTRA_LIBS LibXml2::LibXml2)
+ list(APPEND EXTRA_LIBS LibXml2::LibXml2Shared)
----------------
zmodem wrote:
Hmm, over in https://github.com/llvm/llvm-project/pull/170513 we're linking LLDB against static libxml and that seems to work fine.
It sounds like this would potentially break that?
https://github.com/llvm/llvm-project/pull/166867
More information about the lldb-commits
mailing list