浏览代码

fix this

svn path=/trunk/mono/; revision=36551
Ben Maurer 21 年之前
父节点
当前提交
0bc888fa53
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      mono/mini/aot.c

+ 2 - 0
mono/mini/aot.c

@@ -392,7 +392,9 @@ load_aot_module (MonoAssembly *assembly, gpointer user_data)
 #endif
 	info->aot_name = aot_name;
 	info->methods = mono_g_hash_table_new (NULL, NULL);
+#ifdef MONO_ARCH_HAVE_PIC_AOT
 	info->got = got;
+#endif
 	sscanf (opt_flags, "%d", &info->opts);
 
 	/* Read image table */