Commit ec4dd35a authored by Michal Gorny's avatar Michal Gorny Committed by Nick Desaulniers
Browse files

[UPSTREAM][lldb] [cmake] Fix installing Python modules on systems using /usr/lib

Fix installing Python modules on systems that use /usr/lib for Python
while installing other libraries in /usr/lib64.  Rewrite CMake logic
to query correct directories from Python, similarly to how
prepare_binding_Python.py does it.  Furthermore, change the regex used
in get_relative_lib_dir.py to allow 'lib' without suffix.

I think that the code can be further improved but I'd like to take
this enterprise in smaller steps in case one of them breaks something.

Differential Revision: https://reviews.llvm.org/D67890

llvm-svn: 372835
(cherry picked from commit 7efca81f)

Change-Id: Ibbc933a3c63bcf599587ccccb9fe24ff3151d0df
parent 23e6aeed
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment