diff options
| author | Martin Storsjö <martin@martin.st> | 2022-11-18 10:27:46 +0200 |
|---|---|---|
| committer | Martin Storsjö <martin@martin.st> | 2022-11-18 10:30:26 +0200 |
| commit | 68294afa0836bb62be921e2143d147cdfdc8ba70 (patch) | |
| tree | f5889e4eb4ffbbd34fffeb43d6578d5a8ff1e312 /lldb/source/Plugins/ScriptInterpreter/Python/lldb-python.h | |
| parent | 7f608a2497c7578b9f3ca98014176ab95cffe3c0 (diff) | |
| download | llvm-68294afa0836bb62be921e2143d147cdfdc8ba70.zip llvm-68294afa0836bb62be921e2143d147cdfdc8ba70.tar.gz llvm-68294afa0836bb62be921e2143d147cdfdc8ba70.tar.bz2 | |
[include-cleaner] Fix building with LLVM_LINK_LLVM_DYLIB=ON on mingw
Make sure to use clang_target_link_libraries, which skips linking
against libraries and links against libclang-cpp instead, if
LLVM_LINK_LLVM_DYLIB is enabled.
This fixes errors like these:
ld.lld: error: duplicate symbol: clang::PPCallbacks::~PPCallbacks()
>>> defined at libclangLex.a(PPCallbacks.cpp.obj)
>>> defined at libclang-cpp.dll
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/lldb-python.h')
0 files changed, 0 insertions, 0 deletions
