Skip to content

Commit 3f741ec

Browse files
Damian Krawiecparttimenerd
Damian Krawiec
authored andcommitted
Fix not being able to load lib on linux arm
1 parent 5260ce2 commit 3f741ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/one/profiler/AsyncProfilerLoader.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ private static String getLibrarySuffix() throws OSNotSupportedException {
145145
String arch = System.getProperty("os.arch").toLowerCase();
146146
if (os.startsWith("linux")) {
147147
if (arch.equals("arm64") || arch.equals("aarch64")) {
148-
librarySuffix = version + "-linux-aarch64.so";
148+
librarySuffix = version + "-linux-arm64.so";
149149
} else if (arch.equals("x86") && oldVersion) {
150150
librarySuffix = version + "-linux-x86.so";
151151
} else if (arch.equals("x86_64") || arch.equals("x64") || arch.equals("amd64")) {

0 commit comments

Comments
 (0)