diff --git a/lldb/CMakeLists.txt b/lldb/CMakeLists.txt index 511c75d76588b..388bcf76e6628 100644 --- a/lldb/CMakeLists.txt +++ b/lldb/CMakeLists.txt @@ -43,7 +43,7 @@ endif() if (NOT LLDB_DISABLE_PYTHON) execute_process( COMMAND ${PYTHON_EXECUTABLE} - -c "import distutils.sysconfig; print(distutils.sysconfig.get_python_lib(False, False, ''))" + -c "import distutils.sysconfig; print(distutils.sysconfig.get_python_lib(True, False, ''))" OUTPUT_VARIABLE LLDB_PYTHON_DEFAULT_RELATIVE_PATH OUTPUT_STRIP_TRAILING_WHITESPACE)