Skip to content

Commit

Permalink
bugfix: macOS native libraries are not registered
Browse files Browse the repository at this point in the history
  • Loading branch information
stephengold committed Jul 4, 2024
1 parent 6819868 commit b56609b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions library/src/main/java/com/jme3/bullet/util/NativeLibrary.java
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,12 @@ public static void load() {
NativeLibraryLoader.registerNativeLibrary("jolt-jni",
Platform.Linux64,
"linux/x86-64/com/github/stephengold/libjoltjni.so");
NativeLibraryLoader.registerNativeLibrary("jolt-jni",
Platform.MacOSX64,
"osx/x86-64/com/github/stephengold/libjoltjni.dylib");
NativeLibraryLoader.registerNativeLibrary("jolt-jni",
Platform.MacOSX_ARM64,
"osx/aarch64/com/github/stephengold/libjoltjni.dylib");
NativeLibraryLoader.registerNativeLibrary("jolt-jni",
Platform.Windows64,
"windows/x86-64/com/github/stephengold/joltjni.dll");
Expand Down

0 comments on commit b56609b

Please sign in to comment.