[Lldb-commits] [PATCH] D68442: [lldb] Unifying lldb python path
    Michał Górny via Phabricator via lldb-commits 
    lldb-commits at lists.llvm.org
       
    Fri Oct  4 23:49:11 PDT 2019
    
    
  
mgorny added inline comments.
================
Comment at: lldb/CMakeLists.txt:42
+    COMMAND ${PYTHON_EXECUTABLE}
+        -c "import distutils.sysconfig, sys; print(distutils.sysconfig.get_python_lib(True, False, sys.argv[1]))"
+        ${CMAKE_INSTALL_PREFIX}
----------------
I still like my `(False, False, '')` version better than having to recalculate path afterwards.
Repository:
  rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D68442/new/
https://reviews.llvm.org/D68442
    
    
More information about the lldb-commits
mailing list