mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-22 20:35:37 +00:00
Automatically check the usr folder on macOS
This commit is contained in:
parent
949ee6771c
commit
7879029876
|
@ -46,7 +46,14 @@ class GLibrary
|
|||
}
|
||||
}
|
||||
else if (FuncLoader.IsOSX)
|
||||
{
|
||||
ret = FuncLoader.LoadLibrary(_libraryDefinitions[library][2]);
|
||||
|
||||
if (ret == IntPtr.Zero)
|
||||
{
|
||||
ret = FuncLoader.LoadLibrary("/usr/local/lib/" + _libraryDefinitions[library][2]);
|
||||
}
|
||||
}
|
||||
else
|
||||
ret = FuncLoader.LoadLibrary(_libraryDefinitions[library][1]);
|
||||
|
||||
|
|
Loading…
Reference in a new issue