[Lldb-commits] [PATCH] D68910: python path should be platform-dependent

Luboš Luňák via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Tue Oct 15 12:41:24 PDT 2019


llunak updated this revision to Diff 225101.
llunak retitled this revision from " use LLVM_LIBDIR_SUFFIX for python lib path" to "python path should be platform-dependent".
llunak edited the summary of this revision.
llunak added a comment.

How about this one?


Repository:
  rLLDB LLDB

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D68910/new/

https://reviews.llvm.org/D68910

Files:
  lldb/CMakeLists.txt


Index: lldb/CMakeLists.txt
===================================================================
--- lldb/CMakeLists.txt
+++ lldb/CMakeLists.txt
@@ -39,7 +39,7 @@
 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)
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D68910.225101.patch
Type: text/x-patch
Size: 544 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20191015/9d01f700/attachment.bin>


More information about the lldb-commits mailing list