Skip to content

Commit

Permalink
Use correct native GLFW library name on FreeBSD (space-wizards#3535)
Browse files Browse the repository at this point in the history
  • Loading branch information
Partmedia authored Dec 2, 2022
1 parent 5d2cfcf commit 5e08ef6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OpenToolkit.GraphicsLibraryFramework/GLFWNative.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ static GLFWNative()
}

string rName = null;
if (OperatingSystem.IsLinux()) rName = "libglfw.so.3";
if (OperatingSystem.IsLinux() || OperatingSystem.IsFreeBSD()) rName = "libglfw.so.3";
else if (OperatingSystem.IsMacOS()) rName = "libglfw.3.dylib";

if ((rName != null) && NativeLibrary.TryLoad(rName, assembly, path, out var handle))
Expand Down

0 comments on commit 5e08ef6

Please sign in to comment.