Skip to content

Commit

Permalink
[p7zip_jll] Set LIBPATH and LIBPATH_list at init-time (JuliaLang#…
Browse files Browse the repository at this point in the history
  • Loading branch information
giordano authored and antoine-levitt committed May 9, 2021
1 parent e6c6a43 commit b9211fd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions stdlib/p7zip_jll/src/p7zip_jll.jl
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,8 @@ function __init__()
init_p7zip_path()
PATH[] = dirname(p7zip_path)
push!(PATH_list, PATH[])
append!(LIBPATH_list, [joinpath(Sys.BINDIR, Base.LIBDIR, "julia"), joinpath(Sys.BINDIR, Base.LIBDIR)])
LIBPATH[] = join(LIBPATH_list, pathsep)
end

# JLLWrappers API compatibility shims. Note that not all of these will really make sense.
Expand Down

0 comments on commit b9211fd

Please sign in to comment.