Skip to content

Commit

Permalink
[runtime] Don't probe aot cache on android
Browse files Browse the repository at this point in the history
  • Loading branch information
alexanderkyte authored and marek-safar committed Jan 18, 2019
1 parent 3d6efcb commit 0582cf8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mono/mini/aot-runtime.c
Original file line number Diff line number Diff line change
Expand Up @@ -2104,6 +2104,7 @@ if (container_assm_name && !container_amodule) {
}
g_free (aot_name);
}
#ifndef PLATFORM_ANDROID
if (!sofile) {
char *basename = g_path_get_basename (assembly->image->name);
aot_name = g_strdup_printf ("%s/mono/aot-cache/%s/%s%s", mono_assembly_getrootdir(), MONO_ARCHITECTURE, basename, MONO_SOLIB_EXT);
Expand All @@ -2115,6 +2116,7 @@ if (container_assm_name && !container_amodule) {
}
g_free (aot_name);
}
#endif
if (!sofile) {
GList *l;

Expand Down

0 comments on commit 0582cf8

Please sign in to comment.