From c108a0def3b32bde3c954046ba05e309d2248f6f Mon Sep 17 00:00:00 2001 From: Elliot Saba Date: Thu, 4 Nov 2021 14:08:29 -0700 Subject: [PATCH] Eliminate `@loader_path/julia` element of `DL_LOAD_PATH` (#42930) Analogous to https://github.com/JuliaLang/julia/commit/236523ffc2b0493e8e519a721ec030b7c3a64f83, we don't need to search in `@loader_path/julia` anymore, as `libjulia-internal` is now consistently within the same directory as our other dependencies. (cherry picked from commit 486c8de4a97f64b3a7947bbd4f1c73c3bedee5fe) --- base/Base.jl | 2 -- 1 file changed, 2 deletions(-) diff --git a/base/Base.jl b/base/Base.jl index d1a549f897d4f9..2f78da71ca42cc 100644 --- a/base/Base.jl +++ b/base/Base.jl @@ -184,8 +184,6 @@ let os = ccall(:jl_get_UNAME, Any, ()) if os === :Darwin || os === :Apple if Base.DARWIN_FRAMEWORK push!(DL_LOAD_PATH, "@loader_path/Frameworks") - else - push!(DL_LOAD_PATH, "@loader_path/julia") end push!(DL_LOAD_PATH, "@loader_path") end