Merge pull request #17179 from paulloz/mono-assemblies-preload-facades

[mono] add the 'Facades' subfolder to the searched directories
This commit is contained in:
Ignacio Etcheverry 2018-03-16 21:40:42 +01:00 committed by GitHub
commit 389ad72399
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -123,6 +123,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) {