1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
|
Description: Modify native library name to comply with Debian policy
Also allows proper functioning of SONAME system as implemented in
fix_cmake.patch. This is required because upstream bundles the native binary
into the JAR file by default. Shipping the native binary separately adheres
better to Debian library standards and the patches are fairly trivial.
Author: Olek Wojnar <olek@debian.org>
Forwarded: not-needed
Last-Update: 2022-10-20
--- a/src/main/java/com/github/luben/zstd/util/Native.java
+++ b/src/main/java/com/github/luben/zstd/util/Native.java
@@ -10,7 +10,7 @@
;
private static final String nativePathOverride = "ZstdNativePath";
- private static final String libnameShort = "zstd-jni-" + ZstdVersion.VERSION;
+ private static final String libnameShort = "zstd-jni";
private static final String libname = "lib" + libnameShort;
private static final String errorMsg = "Unsupported OS/arch, cannot find " +
resourceName() + " or load " + libnameShort + " from system libraries. Please " +
|