Skip to content

Commit

Permalink
Update src/aotcompile.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: Julian Samaroo <jpsamaroo@jpsamaroo.me>
  • Loading branch information
maleadt and jpsamaroo authored Jan 25, 2021
1 parent df2a1c5 commit 0fe05cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/aotcompile.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ void *jl_create_native(jl_array_t *methods, const jl_cgparams_t cgparams, int _p

// move everything inside, now that we've merged everything
// (before adding the exported headers)
if (policy != CompilationPolicy::Extern) {
if (policy == CompilationPolicy::Default) {
for (GlobalObject &G : clone->global_objects()) {
if (!G.isDeclaration()) {
G.setLinkage(Function::InternalLinkage);
Expand Down

0 comments on commit 0fe05cb

Please sign in to comment.