Drop libjbigi-linux-k63.so and libjbigi-freebsd-k63.so that were identical

to k62 versions; add mapping in NativeBigInteger.
This commit is contained in:
zzz
2011-05-25 21:14:16 +00:00
parent 6616ccd3b4
commit f5f4f14b7e
3 changed files with 7 additions and 1 deletions

View File

@ -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";
}