1 | --- mono/metadata/loader.c.orig Wed Nov 10 18:59:25 2004 |
---|
2 | +++ mono/metadata/loader.c Wed Nov 10 19:00:25 2004 |
---|
3 | @@ -666,6 +666,19 @@ |
---|
4 | } |
---|
5 | |
---|
6 | if (!gmodule) { |
---|
7 | + full_name = g_module_build_path (MONO_ASSEMBLIES, file_name); |
---|
8 | + mono_trace (G_LOG_LEVEL_INFO, MONO_TRACE_DLLIMPORT, |
---|
9 | + "DllImport loading location: '%s'.", full_name); |
---|
10 | + gmodule = g_module_open (full_name, G_MODULE_BIND_LAZY); |
---|
11 | + if (!gmodule) { |
---|
12 | + mono_trace (G_LOG_LEVEL_INFO, MONO_TRACE_DLLIMPORT, |
---|
13 | + "DllImport error loading library: '%s'.", |
---|
14 | + g_module_error ()); |
---|
15 | + } |
---|
16 | + g_free (full_name); |
---|
17 | + } |
---|
18 | + |
---|
19 | + if (!gmodule) { |
---|
20 | full_name = g_module_build_path (".", file_name); |
---|
21 | mono_trace (G_LOG_LEVEL_INFO, MONO_TRACE_DLLIMPORT, |
---|
22 | "DllImport loading library: '%s'.", full_name); |
---|