[PATCH] Use an RPATH with LLVMgold

Stephen Checkoway s at pahtak.org
Thu Sep 12 14:29:57 PDT 2013


The attached three line patch changes the CMake build of LLVMgold.so such that when it is installed, it has an RPATH of ${CMAKE_INSTALL_PREFIX}/lib so that the installed libLTO.so it links against can be found, even if LLVM is installed to a nonstandard location.
 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: LLVMgold-rpath.diff
Type: application/octet-stream
Size: 477 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130912/9ce987b6/attachment.obj>
-------------- next part --------------

-- 
Stephen Checkoway







More information about the llvm-commits mailing list