Skip to content

Commit

Permalink
fix: fix native library name on Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
BenjaminAmos committed Jul 13, 2024
1 parent a0e358b commit fa7be51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/io/github/benjaminamos/tracy/Tracy.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ private Tracy() {
if (libraryDirectory.exists() && libraryDirectory.isDirectory()) {
String architecture = System.getProperty("os.arch");
for (File file : libraryDirectory.listFiles()) {
if (file.getName().startsWith("tracy-jni-" + architecture) || file.getName().startsWith("libtracy-jni" + architecture)) {
if (file.getName().startsWith("tracy-jni-" + architecture) || file.getName().startsWith("libtracy-jni-" + architecture)) {
System.load(file.getPath());
}
}
Expand Down

0 comments on commit fa7be51

Please sign in to comment.