Skip to content

Commit a1d5101

Browse files
author
git apple-llvm automerger
committed
Merge commit '31ea714e9a94' from llvm.org/master into apple/master
2 parents 7838870 + 31ea714 commit a1d5101

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lldb/cmake/modules/LLDBFramework.cmake

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,3 +120,8 @@ if(NOT IOS)
120120
COMMENT "LLDB.framework: copy clang vendor-specific headers"
121121
)
122122
endif()
123+
124+
# Add an rpath pointing to the directory where LLDB.framework is installed.
125+
# This allows frameworks (relying on @rpath) to be installed in the same folder and found at runtime.
126+
set_property(TARGET liblldb APPEND PROPERTY INSTALL_RPATH
127+
"@loader_path/../../../")

0 commit comments

Comments
 (0)