forked from I2P_Developers/i2p.i2p
Add an i2p.dir.lib property
This commit is contained in:
@@ -1349,7 +1349,7 @@ public class Router implements RouterClock.ClockShiftListener {
|
||||
// only do this on these OSes
|
||||
boolean goodOS = isWin || isMac ||
|
||||
osName.contains("linux") || osName.contains("freebsd");
|
||||
File jbigiJar = new File(_context.getBaseDir(), "lib/jbigi.jar");
|
||||
File jbigiJar = new File(_context.getLibDir(), "jbigi.jar");
|
||||
if (goodOS && jbigiJar.exists() && _context.getBaseDir().canWrite()) {
|
||||
String libPrefix = isWin ? "" : "lib";
|
||||
String libSuffix = isWin ? ".dll" : isMac ? ".jnilib" : ".so";
|
||||
|
||||
@@ -135,7 +135,7 @@ public class InstallUpdate {
|
||||
boolean goodOS = isWin || isMac ||
|
||||
osName.contains("linux") || osName.contains("freebsd");
|
||||
|
||||
File jbigiJar = new File(context.getBaseDir(), "lib/jbigi.jar");
|
||||
File jbigiJar = new File(context.getLibDir(), "jbigi.jar");
|
||||
if (goodOS && jbigiJar.exists()) {
|
||||
String libPrefix = (isWin ? "" : "lib");
|
||||
String libSuffix = (isWin ? ".dll" : isMac ? ".jnilib" : ".so");
|
||||
|
||||
Reference in New Issue
Block a user