llvm-project/lldb/cmake/modules
António Afonso 31ea714e9a Add rpath to liblldb so vendors can ship their own python framework (or others)
Summary:
I want to be able to specify which python framework to use for lldb in macos. With python2.7 we could just rely on the MacOS one but python3.7 is not shipped with the OS.
An alternative is to use the one shipped with Xcode but that could be path dependent or maybe the user doesn't have Xcode installed at all.
A definite solution is to just ship a python framework with lldb. To make this possible I added "@loader_path/../../../" to the rpath so it points to the same directory as the LLDB.framework, this way we can just drop any frameworks there.

Reviewers: hhb, sgraenitz, xiaobai, smeenai, beanz, labath

Reviewed By: labath

Subscribers: beanz, labath, mgorny, lldb-commits

Tags: #lldb

Differential Revision: https://reviews.llvm.org/D69931
2019-11-11 19:23:10 -08:00
..
AddLLDB.cmake [lldb] Record framework build path and use it everywhere 2019-11-06 14:05:35 -08:00
FindLibEdit.cmake Fix a typo in FindLibEdit.cmake 2019-03-15 14:03:52 +00:00
LLDBConfig.cmake [lldb] Record framework build path and use it everywhere 2019-11-06 14:05:35 -08:00
LLDBFramework.cmake Add rpath to liblldb so vendors can ship their own python framework (or others) 2019-11-11 19:23:10 -08:00
LLDBGenerateConfig.cmake Detect HAVE_SYS_TYPES_H in lldb 2019-08-07 06:15:01 +00:00
LLDBStandalone.cmake [lldb][CMake] Infer `Clang_DIR` if not passed explicitly 2019-09-18 10:20:28 +00:00
debugserverConfig.cmake [CMake] Move debugserver options to separate debugserverConfig.cmake 2019-01-04 12:46:38 +00:00