[Lldb-commits] [PATCH] D69931: Add rpath to liblldb so vendors can ship their own python framework (or others)
Phabricator via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Mon Nov 11 19:31:13 PST 2019
This revision was automatically updated to reflect the committed changes.
Closed by commit rG31ea714e9a94: Add rpath to liblldb so vendors can ship their own python framework (or others) (authored by AntoĢnio Afonso <aadsm at fb.com>).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D69931/new/
https://reviews.llvm.org/D69931
Files:
lldb/cmake/modules/LLDBFramework.cmake
Index: lldb/cmake/modules/LLDBFramework.cmake
===================================================================
--- lldb/cmake/modules/LLDBFramework.cmake
+++ lldb/cmake/modules/LLDBFramework.cmake
@@ -120,3 +120,8 @@
COMMENT "LLDB.framework: copy clang vendor-specific headers"
)
endif()
+
+# Add an rpath pointing to the directory where LLDB.framework is installed.
+# This allows frameworks (relying on @rpath) to be installed in the same folder and found at runtime.
+set_property(TARGET liblldb APPEND PROPERTY INSTALL_RPATH
+ "@loader_path/../../../")
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D69931.228800.patch
Type: text/x-patch
Size: 570 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20191112/3d960d45/attachment-0001.bin>
More information about the lldb-commits
mailing list