================
@@ -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
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to