Merge pull request #86 from frhun/aarch64-linux
add aarch64 recognition for Linux
This commit is contained in:
commit
97a2996c5a
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue