Skip to content

Commit 4a3537b

Browse files
authored
[p7zip_jll] Set LIBPATH and LIBPATH_list at init-time (#39591)
1 parent ce5bd1c commit 4a3537b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

stdlib/p7zip_jll/src/p7zip_jll.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,8 @@ function __init__()
8585
init_p7zip_path()
8686
PATH[] = dirname(p7zip_path)
8787
push!(PATH_list, PATH[])
88+
append!(LIBPATH_list, [joinpath(Sys.BINDIR, Base.LIBDIR, "julia"), joinpath(Sys.BINDIR, Base.LIBDIR)])
89+
LIBPATH[] = join(LIBPATH_list, pathsep)
8890
end
8991

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

0 commit comments

Comments
 (0)