[Lldb-commits] [clang] [lldb] [llvm] [cmake] Add support for statically linking libxml2 (PR #166867)

Petr Hosek via lldb-commits lldb-commits at lists.llvm.org
Sun Nov 9 22:55:20 PST 2025


https://github.com/petrhosek requested changes to this pull request.

I'm supportive of the idea but not the implementation. I think the implementation should do exactly what the description says, that is follow the model we used for zstd: it should provide a custom `FindLibXml2` which finds (but doesn't build) both shared and static version of libxml2 and defines the corresponding interface targets we can depend on.

https://github.com/llvm/llvm-project/pull/166867


More information about the lldb-commits mailing list