added aarch64 recognition for Linux
This commit is contained in:
parent
46790676e6
commit
29db419317
|
@ -145,6 +145,8 @@ public final class SerialPort
|
||||||
if (linkerFile.exists())
|
if (linkerFile.exists())
|
||||||
libraryPath += "-hf";
|
libraryPath += "-hf";
|
||||||
}
|
}
|
||||||
|
else if (System.getProperty("os.arch").indexOf("aarch64") >= 0)
|
||||||
|
libraryPath = "Linux/armv8_64";
|
||||||
else if (System.getProperty("os.arch").indexOf("64") >= 0)
|
else if (System.getProperty("os.arch").indexOf("64") >= 0)
|
||||||
libraryPath = "Linux/x86_64";
|
libraryPath = "Linux/x86_64";
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue