https://github.com/JuliaLang/julia
Revision f8ae06fdab5bb9521089eca7fb8748ed88d732e9 authored by Elliot Saba on 03 November 2021, 17:16:44 UTC, committed by Kristoffer on 07 November 2021, 19:00:31 UTC
Previously, we needed to provide both `usr/lib` and `usr/lib/julia` as
elements on the `RPATH`, because `libjulia` lived in `usr/lib`, and
needed to be able to find dependent libraries both within a build tree
(when most libraries live in `usr/lib`) and within an install tree (when
most libraries live in `usr/lib/julia`).

Nowadays, everything is either in `usr/lib` or in `usr/lib/julia` with
the exception of `libjulia`, but since it's really `libjulia-internal`
that does all the `dlopen()`'ing, we can simply use `$$ORIGIN` (or the
equivalent `@loader_path/` on macOS) and completely ignore the rest of
the RPATH shenanigans we do.

(cherry picked from commit 236523ffc2b0493e8e519a721ec030b7c3a64f83)
1 parent 242d851
History
Tip revision: f8ae06fdab5bb9521089eca7fb8748ed88d732e9 authored by Elliot Saba on 03 November 2021, 17:16:44 UTC
Cleanup `RPATH` settings (#42919)
Tip revision: f8ae06f
File Mode Size
.buildkite
.devcontainer
.github
base
cli
contrib
deps
doc
etc
src
stdlib
test
.clang-format -rw-r--r-- 3.3 KB
.codecov.yml -rw-r--r-- 52 bytes
.gitattributes -rw-r--r-- 65 bytes
.gitignore -rw-r--r-- 425 bytes
.mailmap -rw-r--r-- 11.0 KB
CITATION.bib -rw-r--r-- 513 bytes
CONTRIBUTING.md -rw-r--r-- 19.3 KB
HISTORY.md -rw-r--r-- 313.4 KB
LICENSE.md -rw-r--r-- 1.3 KB
Make.inc -rw-r--r-- 49.0 KB
Makefile -rw-r--r-- 25.8 KB
NEWS.md -rw-r--r-- 20.3 KB
README.md -rw-r--r-- 7.5 KB
THIRDPARTY.md -rw-r--r-- 3.7 KB
VERSION -rw-r--r-- 10 bytes
sysimage.mk -rw-r--r-- 4.0 KB

README.md

back to top