Skip to content

Commit b203ccb

Browse files
committed
fix 0.7 break
1 parent 30d90e3 commit b203ccb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ApplicationBuilder.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ function build_app_bundle(juliaprog_main;
127127
# Compile the binary right into the app.
128128
println("~~~~~~ Compiling a binary from '$juliaprog_main'... ~~~~~~~")
129129

130-
custom_program_c = "$(Pkg.dir())/ApplicationBuilder/src/program.c"
130+
custom_program_c = "$(@__DIR__)/program.c"
131131
# Provide an environment variable telling the code it's being compiled into a mac bundle.
132132
withenv("LD_LIBRARY_PATH"=>"$libsDir:$libsDir/julia",
133133
"COMPILING_APPLE_BUNDLE"=>"true") do

0 commit comments

Comments
 (0)