Automatically check the usr folder on macOS
This commit is contained in:
parent
949ee6771c
commit
7879029876
1 changed files with 7 additions and 0 deletions
|
@ -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