Fix compression library not loading.

Dieser Commit ist enthalten in:
MattBDev 2020-02-21 11:19:54 -05:00
Ursprung 516e7e4ca6
Commit 4695c008b4

Datei anzeigen

@ -60,9 +60,7 @@ public enum Native {
private static String resourceName() { private static String resourceName() {
OS os = os(); OS os = os();
String packagePrefix = Native.class.getPackage().getName().replace('.', '/'); return "/" + os.name + "/" + arch() + "/liblz4-java." + os.libExtension;
return "/" + packagePrefix + "/" + os.name + "/" + arch() + "/liblz4-java." + os.libExtension;
} }
private static boolean loaded = false; private static boolean loaded = false;