Skip to content

Commit

Permalink
Fix not being able to load lib on linux arm
Browse files Browse the repository at this point in the history
  • Loading branch information
Damian Krawiec authored and parttimenerd committed May 19, 2023
1 parent 5260ce2 commit 3f741ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/one/profiler/AsyncProfilerLoader.java
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ private static String getLibrarySuffix() throws OSNotSupportedException {
String arch = System.getProperty("os.arch").toLowerCase();
if (os.startsWith("linux")) {
if (arch.equals("arm64") || arch.equals("aarch64")) {
librarySuffix = version + "-linux-aarch64.so";
librarySuffix = version + "-linux-arm64.so";
} else if (arch.equals("x86") && oldVersion) {
librarySuffix = version + "-linux-x86.so";
} else if (arch.equals("x86_64") || arch.equals("x64") || arch.equals("amd64")) {
Expand Down

0 comments on commit 3f741ec

Please sign in to comment.