[Lldb-commits] [lldb] [lldb-dap][windows] add support for out of PATH python.dll resolution (PR #179306)

Martin Storsjö via lldb-commits lldb-commits at lists.llvm.org
Thu Feb 12 04:55:19 PST 2026


mstorsjo wrote:

> I think that the dependency is implicitly propagated from here:
> 
> https://github.com/llvm/llvm-project/blob/ce6dd9ca1912c63ad947523eee173ea78121cceb/lldb/source/Plugins/ExpressionParser/Clang/CMakeLists.txt#L36

Oh, I see. Yeah I tried changing the previous form,
```
add_lldb_library(lldbHostPythonPathSetup STATIC
  PythonPathSetup.cpp

  LINK_LIBS
    LLVMSupport
)
```
into
```
add_lldb_library(lldbHostPythonPathSetup STATIC
  PythonPathSetup.cpp

  LINK_COMPONENTS
    Support
)
```
And with that, it still works when linking with dylibs.

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


More information about the lldb-commits mailing list