Merge pull request #86 from frhun/aarch64-linux

add aarch64 recognition for Linux
This commit is contained in:
Will Hedgecock 2018-01-03 11:24:17 -06:00 committed by GitHub
commit 97a2996c5a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -145,6 +145,8 @@ public final class SerialPort
if (linkerFile.exists())
libraryPath += "-hf";
}
else if (System.getProperty("os.arch").indexOf("aarch64") >= 0)
libraryPath = "Linux/armv8_64";
else if (System.getProperty("os.arch").indexOf("64") >= 0)
libraryPath = "Linux/x86_64";
else