Skip to content

Commit 18dffe1

Browse files
committed
Format symbols based on platform
1 parent 4142a37 commit 18dffe1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/mono/mono/mini/aot-compiler.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5257,7 +5257,11 @@ MONO_RESTORE_WARNING
52575257
add_method (acfg, wrapper);
52585258
if (export_name) {
52595259
g_hash_table_insert (acfg->export_names, wrapper, export_name);
5260+
#ifdef TARGET_APPLE_MOBILE
52605261
g_string_append_printf (export_symbols, "_%s\n", export_name);
5262+
#else
5263+
g_string_append_printf (export_symbols, "%s\n", export_name);
5264+
#endif
52615265
}
52625266
}
52635267

0 commit comments

Comments
 (0)