Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 8744d86

Browse files
committedAug 3, 2018
Fix install_name_tool problems on Mac
Add cc_flag to leave room in the compiled binary for new `rpath`s via: `-headerpad_max_install_names`.
1 parent 561e6bb commit 8744d86

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/BuildApp.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ function build_app_bundle(juliaprog_main;
137137
cprog=custom_program_c, builddir=launcherDir, verbose=verbose,
138138
autodeps=true, executable=true, julialibs=true, optimize="3",
139139
debug="0", cpu_target="x86-64",
140-
cc_flags="-mmacosx-version-min=10.10")
140+
cc_flags=`-mmacosx-version-min=10.10 -headerpad_max_install_names`)
141141
end
142142

143143
for b in ["$launcherDir/$binary_name", "$launcherDir/$binary_name.dylib"]

0 commit comments

Comments
 (0)
Please sign in to comment.