[mono] add the 'Facades' subfolder to the searched directories in _preload_hook

(cherry picked from commit 22606a7bec)
This commit is contained in:
Paul Joannon 2018-03-02 13:38:29 +01:00 committed by Hein-Pieter van Braam
parent 199a54d5ac
commit 486f4d2769
1 changed files with 1 additions and 0 deletions

View File

@ -126,6 +126,7 @@ MonoAssembly *GDMonoAssembly::_preload_hook(MonoAssemblyName *aname, char **asse
const char *rootdir = mono_assembly_getrootdir(); const char *rootdir = mono_assembly_getrootdir();
if (rootdir) { if (rootdir) {
search_dirs.push_back(String(rootdir).plus_file("mono").plus_file("4.5")); search_dirs.push_back(String(rootdir).plus_file("mono").plus_file("4.5"));
search_dirs.push_back(String(rootdir).plus_file("mono").plus_file("4.5").plus_file("Facades"));
} }
if (assemblies_path) { if (assemblies_path) {