attempt to fix 32bit load library problem with little success.

This commit is contained in:
wirsing
2014-09-24 18:46:45 -07:00
parent 1fec4b2ce0
commit 6cc68ad1da
@@ -9,11 +9,21 @@ public class MethClaInterface
String arch = System.getProperty("os.arch");
if (osName.startsWith("Win")){
System.loadLibrary("LIBWINPTHREAD-1");
System.loadLibrary("LIBSNDFILE-1");
System.loadLibrary("LIBMPG123-0");
System.loadLibrary("LIBMETHCLA");
System.loadLibrary("LIBMETHCLAINTERFACE");
if (arch.equals("x86")){
System.loadLibrary("LIBWINPTHREAD-1");
System.loadLibrary("LIBSNDFILE-1");
System.loadLibrary("LIBGCC_S_SJLJ-1");
System.loadLibrary("LIBMPG123-0");
System.loadLibrary("LIBMETHCLA");
System.loadLibrary("LIBMETHCLAINTERFACE");
}
else {
System.loadLibrary("LIBWINPTHREAD-1");
System.loadLibrary("LIBSNDFILE-1");
System.loadLibrary("LIBMPG123-0");
System.loadLibrary("LIBMETHCLA");
System.loadLibrary("LIBMETHCLAINTERFACE");
}
}
else if (osName.startsWith("Mac")){
System.loadLibrary("MethClaInterface");