[all-commits] [llvm/llvm-project] ae6d2f: [lldb] fix RPATH when linking against Python3.fram...

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Thu Apr 30 10:43:27 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: ae6d2ff633a07a04aad62a0870afe28950472938
      https://github.com/llvm/llvm-project/commit/ae6d2ff633a07a04aad62a0870afe28950472938
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2020-04-30 (Thu, 30 Apr 2020)

  Changed paths:
    M lldb/cmake/modules/FindPythonInterpAndLibs.cmake
    M lldb/source/API/CMakeLists.txt
    M lldb/tools/lldb-test/CMakeLists.txt

  Log Message:
  -----------
  [lldb] fix RPATH when linking against Python3.framework

The install name for the Python 3 framework in Xcode is relative to
the framework's location and not the dylib itself.

  @rpath/Python3.framework/Versions/3.x/Python3

This means that we need to compute the path to the Python3.framework
and use that as the RPATH instead of the usual dylib's directory.




More information about the All-commits mailing list