[Lldb-commits] [lldb] [lldb][windows] fix install-lldb target on Windows (PR #196070)

Charles Zablit via lldb-commits lldb-commits at lists.llvm.org
Wed May 6 09:10:11 PDT 2026


charles-zablit wrote:

I don't see a case where `LLDB_ENABLE_PYTHON=OFF` and the target exists. However, `LLDB_ENABLE_PYTHON=ON` and a missing target is possible when `LLVM_ENABLE_IDE` is set: https://github.com/llvm/llvm-project/blob/dd145eb8997878143f648a7601741f6409330963/lldb/bindings/python/CMakeLists.txt#L186

I removed the `LLDB_ENABLE...` parts of the if.

> Also this fixes a Windows issue but the fix seems quite generic. Has this also been an issue for Linux and we've not noticed it?

We also need liblldb on Linux and macOS, but we are not copying it on these platforms either. I assume that the issue also exists on other platforms then. I will confirm this.

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


More information about the lldb-commits mailing list