diff --git a/stdlib/p7zip_jll/src/p7zip_jll.jl b/stdlib/p7zip_jll/src/p7zip_jll.jl index a3e33296c7159..e1c94eb8d84be 100644 --- a/stdlib/p7zip_jll/src/p7zip_jll.jl +++ b/stdlib/p7zip_jll/src/p7zip_jll.jl @@ -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.