Skip to content

Commit

Permalink
python path should be platform-dependent
Browse files Browse the repository at this point in the history
Because one of the installed files is the _lldb.so symlink.

Differential Revision: https://reviews.llvm.org/D68910
  • Loading branch information
llunak committed Nov 2, 2019
1 parent 462a67f commit 79d8996
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lldb/CMakeLists.txt
Expand Up @@ -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)

Expand Down

0 comments on commit 79d8996

Please sign in to comment.