diff --git a/core/java/src/net/i2p/util/NativeBigInteger.java b/core/java/src/net/i2p/util/NativeBigInteger.java index 91dfbd7bb5664ce3566958009b081b7e5c41ffaf..fd327b725ee1f5e29c339b8556cb7b2b1c335ace 100644 --- a/core/java/src/net/i2p/util/NativeBigInteger.java +++ b/core/java/src/net/i2p/util/NativeBigInteger.java @@ -544,7 +544,13 @@ public class NativeBigInteger extends BigInteger { if (optimized) { if (sCPUType == null) return null; - sAppend = "-" + sCPUType; + // Add exceptions here if library files are identical, + // instead of adding duplicates to jbigi.jar + if (sCPUType.equals(JBIGI_OPTIMIZATION_K6_3) && !_isWin) + // k62 and k63 identical except on windows + sAppend = "-" + JBIGI_OPTIMIZATION_K6_2; + else + sAppend = "-" + sCPUType; } else { sAppend = "-none"; } diff --git a/installer/lib/jbigi/libjbigi-freebsd-k63.so b/installer/lib/jbigi/libjbigi-freebsd-k63.so deleted file mode 100644 index e288feacc38d1862fedd54e529a2e670d11e0503..0000000000000000000000000000000000000000 Binary files a/installer/lib/jbigi/libjbigi-freebsd-k63.so and /dev/null differ diff --git a/installer/lib/jbigi/libjbigi-linux-k63.so b/installer/lib/jbigi/libjbigi-linux-k63.so deleted file mode 100644 index 1c773b792bd977a89797fca09596765afa9c1038..0000000000000000000000000000000000000000 Binary files a/installer/lib/jbigi/libjbigi-linux-k63.so and /dev/null differ