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
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to