fix "no library found" errors on Android

This commit is contained in:
benfry
2012-12-05 00:56:11 +00:00
parent e510a55a1d
commit bf5caea34d

View File

@@ -433,7 +433,7 @@ public class JavaBuild {
}
}
}
if (ignorableImport(item, preprocessor)) {
if (ignorableImport(item)) {
found = true;
}
if (!found) {
@@ -515,7 +515,7 @@ public class JavaBuild {
* for libraries that begin with a prefix like javax, since that includes
* the OpenGL library, even though we're just returning true here, hrm...
*/
protected boolean ignorableImport(String pkg, PdePreprocessor preprocessor) {
protected boolean ignorableImport(String pkg) {
if (pkg.startsWith("java.")) return true;
if (pkg.startsWith("javax.")) return true;