added aarch64 recognition for Linux

This commit is contained in:
frhun 2017-10-09 20:36:08 +02:00
parent 46790676e6
commit 29db419317
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