Skip to content

Commit 6680469

Browse files
authored
Merge pull request #50 from mauro3/m3/no-juliarc
Added a --startup-file=no
2 parents d128dc3 + 7387df2 commit 6680469

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

juliac.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ function julia_compile(julia_program, c_program=nothing, build_dir="builddir", v
158158
end
159159

160160
if shared || executable
161-
command = `$(Base.julia_cmd()) $(joinpath(dirname(JULIA_HOME), "share", "julia", "julia-config.jl"))`
161+
command = `$(Base.julia_cmd()) --startup-file=no $(joinpath(dirname(JULIA_HOME), "share", "julia", "julia-config.jl"))`
162162
cflags = Base.shell_split(readstring(`$command --cflags`))
163163
ldflags = Base.shell_split(readstring(`$command --ldflags`))
164164
ldlibs = Base.shell_split(readstring(`$command --ldlibs`))

0 commit comments

Comments
 (0)