[Lldb-commits] [PATCH] D68910: use LLVM_LIBDIR_SUFFIX for python lib path
Luboš Luňák via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Sat Oct 12 04:50:28 PDT 2019
llunak created this revision.
llunak added reviewers: clayborg, labath.
llunak added a project: LLDB.
Herald added subscribers: lldb-commits, JDevlieghere, mgorny.
On 64bit linux python is in lib64/python<version>.
Repository:
rLLDB LLDB
https://reviews.llvm.org/D68910
Files:
lldb/scripts/CMakeLists.txt
Index: lldb/scripts/CMakeLists.txt
===================================================================
--- lldb/scripts/CMakeLists.txt
+++ lldb/scripts/CMakeLists.txt
@@ -47,7 +47,7 @@
if(CMAKE_HOST_SYSTEM_NAME MATCHES "Windows")
set(swig_python_subdir Lib/site-packages)
else()
- set(swig_python_subdir lib/python${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR})
+ set(swig_python_subdir lib${LLVM_LIBDIR_SUFFIX}/python${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR})
endif()
set(SWIG_PYTHON_DIR ${CMAKE_BINARY_DIR}/${CMAKE_CFG_INTDIR}/${swig_python_subdir})
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D68910.224736.patch
Type: text/x-patch
Size: 584 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20191012/14d2c91b/attachment.bin>
More information about the lldb-commits
mailing list