Skip to content

Commit 75051c9

Browse files
gbaraldisjkelly
authored andcommitted
Change naming convention of object files to follow what Base Julia does
1 parent 067b441 commit 75051c9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/PackageCompiler.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ function create_fresh_base_sysimage(stdlibs::Vector{String}; cpu_target::String,
225225
sysimg_source_path = Base.find_source_file("sysimg.jl")
226226
base_dir = dirname(sysimg_source_path)
227227
tmp_corecompiler_ji = joinpath(tmp, "corecompiler.ji")
228-
tmp_sys_o = joinpath(tmp, "sys.o")
228+
tmp_sys_o = joinpath(tmp, "sys-o.a")
229229
tmp_sys_sl = joinpath(tmp, "sys." * Libdl.dlext)
230230

231231
compiler_source_path = joinpath(base_dir, "compiler", "compiler.jl")
@@ -623,7 +623,7 @@ function create_sysimage(packages::Union{Nothing, Symbol, Vector{String}, Vector
623623
end
624624

625625
# Create the sysimage
626-
object_file = tempname() * ".o"
626+
object_file = tempname() * "-o.a"
627627

628628
create_sysimg_object_file(object_file, packages, packages_sysimg;
629629
project,
@@ -1411,7 +1411,7 @@ function bundle_julia_libexec(ctx, dest_dir)
14111411
p7zip_exe = basename(p7zip_path)
14121412
cp(p7zip_path, joinpath(bundle_libexec_dir, p7zip_exe))
14131413

1414-
return
1414+
return
14151415
end
14161416

14171417
function recursive_dir_size(path)

0 commit comments

Comments
 (0)