[PATCH] D25382: Add @loader_path to rpath on mac
Derek Schuff via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 7 15:15:40 PDT 2016
dschuff updated this revision to Diff 73996.
dschuff added a comment.
- ../lib is redundant
https://reviews.llvm.org/D25382
Files:
CMakeLists.txt
Index: CMakeLists.txt
===================================================================
--- CMakeLists.txt
+++ CMakeLists.txt
@@ -675,7 +675,7 @@
set(CMAKE_BUILD_WITH_INSTALL_RPATH ON)
if (APPLE)
set(CMAKE_INSTALL_NAME_DIR "@rpath")
- set(CMAKE_INSTALL_RPATH "@executable_path/../lib")
+ set(CMAKE_INSTALL_RPATH "@executable_path/../lib;@loader_path")
else(UNIX)
if(NOT DEFINED CMAKE_INSTALL_RPATH)
set(CMAKE_INSTALL_RPATH "\$ORIGIN/../lib${LLVM_LIBDIR_SUFFIX}")
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D25382.73996.patch
Type: text/x-patch
Size: 481 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161007/ec2eb047/attachment.bin>
More information about the llvm-commits
mailing list