Skip to content

Commit

Permalink
fix: Fixes loading libraries from absolute path.
Browse files Browse the repository at this point in the history
  • Loading branch information
damencho committed Mar 19, 2024
1 parent 22af39b commit 1473517
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/main/java/org/jitsi/utils/JNIUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,14 @@ private static <T> void loadNativeInClassloader(
}
catch (Exception e)
{
System.loadLibrary(lib);
if (isAbsolute)
{
System.load(lib);
}
else
{
System.loadLibrary(lib);
}
}
}

Expand Down

0 comments on commit 1473517

Please sign in to comment.