mirror of
https://github.com/MightyPirates/OpenComputers.git
synced 2025-09-25 14:05:39 -04:00
Merge pull request #35 from GTNewHorizons/oc-arm64
add support for aarch64
This commit is contained in:
commit
3c87db0d4b
Binary file not shown.
Binary file not shown.
@ -116,6 +116,7 @@ abstract class LuaStateFactory {
|
||||
else if (SystemUtils.IS_OS_FREE_BSD && Architecture.IS_OS_X86) "native.32.bsd.so"
|
||||
|
||||
else if (SystemUtils.IS_OS_LINUX && Architecture.IS_OS_ARM) "native.32.arm.so"
|
||||
else if (SystemUtils.IS_OS_LINUX && Architecture.IS_OS_ARM) "native.64.arm.so"
|
||||
else if (SystemUtils.IS_OS_LINUX && Architecture.IS_OS_X64) "native.64.so"
|
||||
else if (SystemUtils.IS_OS_LINUX && Architecture.IS_OS_X86) "native.32.so"
|
||||
|
||||
@ -409,6 +410,8 @@ abstract class LuaStateFactory {
|
||||
|
||||
val IS_OS_ARM = isOSArchMatch("arm")
|
||||
|
||||
val IS_OS_A64 = isOSArchMatch("aarch64")
|
||||
|
||||
val IS_OS_X86 = isOSArchMatch("x86") || isOSArchMatch("i386")
|
||||
|
||||
val IS_OS_X64 = isOSArchMatch("x86_64") || isOSArchMatch("amd64")
|
||||
|
Loading…
x
Reference in New Issue
Block a user