[Lldb-commits] [lldb] [lldb][windows] print an error if python.dll is not in the DLL search path (PR #164893)
Martin Storsjö via lldb-commits
lldb-commits at lists.llvm.org
Thu Oct 23 14:17:21 PDT 2025
================
@@ -87,6 +89,8 @@ if (LLDB_ENABLE_PYTHON)
set(LLDB_PYTHON_EXT_SUFFIX "_d${LLDB_PYTHON_EXT_SUFFIX}")
endif()
endif()
+ set(LLDB_PYTHON_SHARED_LIBRARY_FILENAME
+ "python${Python3_VERSION_MAJOR}${Python3_VERSION_MINOR}${CMAKE_SHARED_LIBRARY_SUFFIX}")
----------------
mstorsjo wrote:
You may wish to include a cmake variable for the prefix as well; on mingw, it's `libpython3.12.dll` - I'm sure that there's a cmake variable that expands to `lib` for mingw but nothing for msvc like environments.
Also; if i understand this correctly, this variable gets set automatically, but is it possible to override this string through cmake parameters?
https://github.com/llvm/llvm-project/pull/164893
More information about the lldb-commits
mailing list