[PATCH] Use an RPATH with LLVMgold

Rafael EspĂ­ndola rafael.espindola at gmail.com
Tue Oct 8 11:04:36 PDT 2013


In the configure based build we use $ORIGIN so that libLTO.so is
always looked next to it. Can we do the same with cmake?

On 12 September 2013 17:29, Stephen Checkoway <s at pahtak.org> wrote:
> 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.
>
>
>
> --
> Stephen Checkoway
>
>
>
>
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>




More information about the llvm-commits mailing list