mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2026-04-05 22:45:50 +00:00
Linux: more 64 bit stuff
This commit is contained in:
parent
e2bbb739aa
commit
395327b755
2 changed files with 7 additions and 5 deletions
|
|
@ -78,11 +78,11 @@ public final class Sys {
|
|||
|
||||
private static void loadLibrary(final String lib_name) {
|
||||
try {
|
||||
loadLibrary(lib_name);
|
||||
doLoadLibrary(lib_name);
|
||||
} catch (UnsatisfiedLinkError e) {
|
||||
if (implementation.has64Bit()) {
|
||||
try {
|
||||
loadLibrary(lib_name + POSTFIX64BIT);
|
||||
doLoadLibrary(lib_name + POSTFIX64BIT);
|
||||
} catch (UnsatisfiedLinkError e2) {
|
||||
LWJGLUtil.log("Failed to load 64 bit library:" + e2.getMessage());
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue