Skip to content

Commit 59a8c00

Browse files
author
KristofferC
committed
update
1 parent a6fc64c commit 59a8c00

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/PackageCompiler.jl

+3-1
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,9 @@ function create_fresh_base_sysimage(stdlibs::Vector{String}; cpu_target::String,
235235

236236
@static if VERSION >= v"1.12.0-DEV.1617"
237237
compiler_source_path = joinpath(base_dir, "Base_compiler.jl")
238-
compiler_args = `./` # build path
238+
buildroot = ""
239+
dataroot = relpath(joinpath(Sys.BINDIR, Base.DATAROOTDIR), base_dir) * "/"
240+
compiler_args = `--buildroot $buildroot --dataroot $dataroot` # build path
239241
else
240242
compiler_source_path = joinpath(base_dir, "compiler", "compiler.jl")
241243
compiler_args = ``

0 commit comments

Comments
 (0)