charles-zablit wrote: @mstorsjo my understanding is that `Python3_RUNTIME_LIBRARY` should always be set to something (according to https://gitlab.kitware.com/cmake/cmake/blob/master/Modules/FindPython/Support.cmake#L3868-3874) and that it's an undocumented public variable.
I see 2 solutions: - We either rely on this public variable even though it's not documented. - We try to guess the Python shared library based on the environment: `if MSVC "python310.dll" else "lib python3.10.dll"`. This is only needed on Windows anyways (for now). I prefer the first solution because it defers the logic to CMake, but you are saying that `Python3_RUNTIME_LIBRARY` and `_ Python3_RUNTIME_LIBRARY_RELEASE` and `_ Python3_RUNTIME_LIBRARY_DEBUG` are empty when you run it? https://github.com/llvm/llvm-project/pull/164893 _______________________________________________ lldb-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
