Create _lldb python symlink correctly when LLVM_LIBDIR_SUFFIX is used
authorFrancis Ricci <francisjricci@gmail.com>
Mon, 25 Apr 2016 20:34:34 +0000 (20:34 +0000)
committerFrancis Ricci <francisjricci@gmail.com>
Mon, 25 Apr 2016 20:34:34 +0000 (20:34 +0000)
commit4692f52daa9d305b375cf2d2e9f3b5da8a352021
treeefd028832b9bbd03c724e33df05c6ccc1ba4d587
parent1ef1bf87dc8c26c61a2a51fea4c9d3aadda07d13
Create _lldb python symlink correctly when LLVM_LIBDIR_SUFFIX is used

Summary:
Do not assume that liblldb.so is located in $(lldb -P)/../../../lib
when creating the _lldb python symlink. Instead, use the path passed
to LLVM_LIBDIR_SUFFIX, defaulting to $(lldb -P)/../../../lib when this
variable is not set.

Reviewers: vharron, emaste, zturner

Subscribers: zturner, labath, lldb-commits, sas

Differential Revision: http://reviews.llvm.org/D19067

llvm-svn: 267462
lldb/CMakeLists.txt
lldb/scripts/Python/finishSwigPythonLLDB.py
lldb/scripts/finishSwigWrapperClasses.py