[patch] Use relative rpath so that the installation and build dirs are relocatable

Rafael EspĂ­ndola rafael.espindola at gmail.com
Fri Feb 14 15:01:26 PST 2014


The attached patch is based on a suggestion by Brad. It changes the build to use
a relative rpath. That way no patching is needed during installation
and both the
build and install directories are relocatable.

This is the same technique we use with configure+make.

Unfortunately for it to work on OS X we need 2.8.12. If that is not OK
we can probably
leave the apple branch commented for now with a note to enable it when we switch
to 2.8.12.

Cheers,
Rafael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: t.patch
Type: application/octet-stream
Size: 915 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140214/f49d9663/attachment.obj>


More information about the llvm-commits mailing list