We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a61f9fe commit e0adf63Copy full SHA for e0adf63
lldb/CMakeLists.txt
@@ -75,6 +75,14 @@ if (LLDB_ENABLE_PYTHON)
75
endif()
76
77
endforeach()
78
+ # Make sure lldb extension has "_d" suffix on Windows in Debug mode.
79
+ if(WIN32 AND CMAKE_BUILD_TYPE STREQUAL Debug)
80
+ string(SUBSTRING ${LLDB_PYTHON_EXT_SUFFIX} 0 2 FIRST_2_CHARS)
81
+ # Add "_d" manually if LLDB_PYTHON_EXT_SUFFIX lacks it due to release Python configuration.
82
+ if(NOT FIRST_2_CHARS STREQUAL "_d")
83
+ set(LLDB_PYTHON_EXT_SUFFIX "_d${LLDB_PYTHON_EXT_SUFFIX}")
84
+ endif()
85
86
endif ()
87
88
if (LLDB_ENABLE_LUA)
0 commit comments