Skip to content

Commit a8ab5c9

Browse files
gbaraldiDilumAluthge
authored andcommitted
Change naming convention of object files to follow what Base Julia does
1 parent da6917e commit a8ab5c9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/PackageCompiler.jl

+3-3
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")
@@ -639,7 +639,7 @@ function create_sysimage(packages::Union{Nothing, Symbol, Vector{String}, Vector
639639
end
640640

641641
# Create the sysimage
642-
object_file = tempname() * ".o"
642+
object_file = tempname() * "-o.a"
643643

644644
create_sysimg_object_file(object_file, packages, packages_sysimg;
645645
project,
@@ -1428,7 +1428,7 @@ function bundle_julia_libexec(ctx, dest_dir)
14281428
p7zip_exe = basename(p7zip_path)
14291429
cp(p7zip_path, joinpath(bundle_libexec_dir, p7zip_exe))
14301430

1431-
return
1431+
return
14321432
end
14331433

14341434
function recursive_dir_size(path)

0 commit comments

Comments
 (0)