bazel: Fix Loader.java
Bazel will use the `System.loadLibrary()` path while CMake typically use the URI unpacked stuff
This commit is contained in:
committed by
Mizux Seiha
parent
f2c54259e4
commit
1ae193343a
@@ -104,7 +104,12 @@ public class Loader {
|
||||
public static synchronized void loadNativeLibraries() {
|
||||
if (!loaded) {
|
||||
try {
|
||||
// prints the name of the Operating System
|
||||
//System.out.println("OS: " + System.getProperty("os.name"));
|
||||
//System.out.println("Library: " + System.mapLibraryName("jniortools"));
|
||||
|
||||
System.loadLibrary("jniortools");
|
||||
loaded = true;
|
||||
return;
|
||||
} catch (UnsatisfiedLinkError exception) {
|
||||
// Do nothing.
|
||||
|
||||
Reference in New Issue
Block a user