Skip to content

Commit b0c2281

Browse files
committed
make Sysinfo.__init__ easier to compile
1 parent ecf08ce commit b0c2281

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

base/sysinfo.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ end
165165
# without pulling in anything unnecessary like `CPU_NAME`
166166
function __init_build()
167167
global BINDIR = ccall(:jl_get_julia_bindir, Any, ())::String
168-
vers = "v$(VERSION.major).$(VERSION.minor)"
168+
vers = "v$(string(VERSION.major)).$(string(VERSION.minor))"
169169
global STDLIB = abspath(BINDIR, "..", "share", "julia", "stdlib", vers)
170170
nothing
171171
end

0 commit comments

Comments
 (0)