Linux: added libflatlaf-linux-arm64.so for Linux on ARM64 (issue #899)

built by GitHub Actions: https://github.com/JFormDesigner/FlatLaf/actions/runs/12845430366
This commit is contained in:
Karl Tauber
2025-01-18 17:09:32 +01:00
parent 91f19bf94c
commit 28904c34cc
4 changed files with 5 additions and 3 deletions

View File

@@ -90,10 +90,10 @@ class FlatNativeLibrary
classifier = SystemInfo.isAARCH64 ? "macos-arm64" : "macos-x86_64";
ext = "dylib";
} else if( SystemInfo.isLinux && SystemInfo.isX86_64 ) {
// Linux: requires x86_64
} else if( SystemInfo.isLinux && (SystemInfo.isX86_64 || SystemInfo.isAARCH64)) {
// Linux: requires x86_64 or aarch64
classifier = "linux-x86_64";
classifier = SystemInfo.isAARCH64 ? "linux-arm64" : "linux-x86_64";
ext = "so";
// Load libjawt.so (part of JRE) explicitly because it is not found