================
@@ -75,6 +75,12 @@ if (LLDB_ENABLE_PYTHON)
endif()
endif()
endforeach()
+ if(WIN32 AND CMAKE_BUILD_TYPE STREQUAL Debug)
+ string(SUBSTRING ${LLDB_PYTHON_EXT_SUFFIX} 0 2 FIRST_2_CHARS)
+ if(NOT FIRST_2_CHARS STREQUAL "_d")
----------------
DavidSpickett wrote:
Add some comments to explain why we have this check, something like:
```
# If we are using a debug Python, the expected suffix will already have "_d".
if (...)
# We are using a release Python, but the lldb extension will be built with
the "_d" suffix.
```
https://github.com/llvm/llvm-project/pull/89037
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits