Skip to content

Commit

Permalink
fix path to sysimg (#74)
Browse files Browse the repository at this point in the history
  • Loading branch information
KristofferC committed Feb 9, 2020
1 parent 6a6f7c4 commit 5ea6854
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PackageCompilerX.jl
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ function create_sysimg_object_file(object_file::String, packages::Vector{String}
run(cmd)
end

default_sysimg_path() = joinpath(julia_private_libdir(), "sys." * Libdl.dlext)
default_sysimg_path() = abspath(Sys.BINDIR, "..", "lib", "julia", "sys." * Libdl.dlext)
default_sysimg_name() = basename(default_sysimg_path())
backup_default_sysimg_path() = default_sysimg_path() * ".backup"
backup_default_sysimg_name() = basename(backup_default_sysimg_path())
Expand Down

0 comments on commit 5ea6854

Please sign in to comment.