From b203ccbed89f49f5ddd0fbf0188edba328c8a076 Mon Sep 17 00:00:00 2001 From: Nathan Daly Date: Thu, 9 Aug 2018 01:10:29 +0100 Subject: [PATCH] fix 0.7 break --- src/ApplicationBuilder.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ApplicationBuilder.jl b/src/ApplicationBuilder.jl index 8ebb324..157810f 100644 --- a/src/ApplicationBuilder.jl +++ b/src/ApplicationBuilder.jl @@ -127,7 +127,7 @@ function build_app_bundle(juliaprog_main; # Compile the binary right into the app. println("~~~~~~ Compiling a binary from '$juliaprog_main'... ~~~~~~~") - custom_program_c = "$(Pkg.dir())/ApplicationBuilder/src/program.c" + custom_program_c = "$(@__DIR__)/program.c" # Provide an environment variable telling the code it's being compiled into a mac bundle. withenv("LD_LIBRARY_PATH"=>"$libsDir:$libsDir/julia", "COMPILING_APPLE_BUNDLE"=>"true") do