JuliaLang/julia — pull request #1813 by staticfloat (2012-12-21 20:46:36+00:00)
Title: Give libjulia an RPATH as well

Solves a recent problem encountered by a user on OpenSUSE, where Julia could not find librandom because libjulia's RPATH is empty. Because libjulia is currently located next to all shared libraries this will work fine, but once libjulia is moved into `$(JL_LIBDIR)` from `$(JL_PRIVATE_LIBDIR)` we will likely need to amend this to add in `$(JL_PRIVATE_LIBDIR)` to its rpath.