Skip to content

Commit a66de5b

Browse files
committed
Renamed --ccflags per JuliaLang/PackageCompiler.jl#41
Renaming `juliac.jl`'s flag `--ccflags` to `--cc-flags`, after it was merged in JuliaLang/PackageCompiler.jl#41.
1 parent 730d4f4 commit a66de5b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

build_app.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,8 +119,9 @@ env = copy(ENV)
119119
env["LD_LIBRARY_PATH"]="$libsDir:$libsDir/julia"
120120
env["COMPILING_APPLE_BUNDLE"]="true"
121121
# Compile executable and copy julia libs to $launcherDir.
122-
juliac_cmd = `julia $(Pkg.dir())/PackageCompiler/juliac.jl -aej -Cx86-64 --ccflags='-mmacosx-version-min=10.10' $jl_main_file
122+
juliac_cmd = `julia $(Pkg.dir())/PackageCompiler/juliac.jl -aej -Cx86-64 --cc-flags='-mmacosx-version-min=10.10' $jl_main_file
123123
"$(Pkg.dir())/PackageCompiler/examples/program.c" $launcherDir`
124+
verbose && println(" $juliac_cmd")
124125
verbose && insert!(juliac_cmd.exec, 3, "-v")
125126
run(setenv(juliac_cmd, env))
126127

0 commit comments

Comments
 (0)