Skip to content

Commit

Permalink
make Sysinfo.__init__ easier to compile
Browse files Browse the repository at this point in the history
  • Loading branch information
JeffBezanson committed Jul 31, 2024
1 parent ecf08ce commit b0c2281
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/sysinfo.jl
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ end
# without pulling in anything unnecessary like `CPU_NAME`
function __init_build()
global BINDIR = ccall(:jl_get_julia_bindir, Any, ())::String
vers = "v$(VERSION.major).$(VERSION.minor)"
vers = "v$(string(VERSION.major)).$(string(VERSION.minor))"
global STDLIB = abspath(BINDIR, "..", "share", "julia", "stdlib", vers)
nothing
end
Expand Down

0 comments on commit b0c2281

Please sign in to comment.