native loader: set lwjgl library path for lwjgl3
This commit is contained in:
parent
5e8f5e6a1f
commit
810c7b6fa6
@ -671,7 +671,7 @@ public final class NativeLibraryLoader {
|
||||
} finally {
|
||||
// XXX: HACK. Vary loading method based on library name..
|
||||
// lwjgl and jinput handle loading by themselves.
|
||||
if (name.equals("lwjgl")) {
|
||||
if (name.equals("lwjgl") || name.equals("lwjgl3")) {
|
||||
System.setProperty("org.lwjgl.librarypath",
|
||||
extactionDirectory.getAbsolutePath());
|
||||
} else if (name.equals("jinput")) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user