Skip to content

Commit

Permalink
2009-02-17 Zoltan Varga <vargaz@gmail.com>
Browse files Browse the repository at this point in the history
	* aot-runtime.c (load_image): Pass our basedir to mono_assembly_load.

svn path=/trunk/mono/; revision=127095
  • Loading branch information
vargaz committed Feb 17, 2009
1 parent c69c682 commit 2e1d9a6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions mono/mini/ChangeLog
@@ -1,5 +1,7 @@
2009-02-17 Zoltan Varga <vargaz@gmail.com>

* aot-runtime.c (load_image): Pass our basedir to mono_assembly_load.

* aot-compiler.c (emit_exception_debug_info): Bump the maximum size of
the encoding buffer.

Expand Down
2 changes: 1 addition & 1 deletion mono/mini/aot-runtime.c
Expand Up @@ -200,7 +200,7 @@ load_image (MonoAotModule *module, int index)
if (module->out_of_date)
return NULL;

assembly = mono_assembly_load (&module->image_names [index], NULL, &status);
assembly = mono_assembly_load (&module->image_names [index], module->assembly->basedir, &status);
if (!assembly) {
mono_trace (G_LOG_LEVEL_INFO, MONO_TRACE_AOT, "AOT module %s is unusable because dependency %s is not found.\n", module->aot_name, module->image_names [index].name);
module->out_of_date = TRUE;
Expand Down

0 comments on commit 2e1d9a6

Please sign in to comment.