int nativez_ResolveLibraries(JNIEnv *env, NZLibTable *table) {
for (int i=0;table[i].name;i++) {
- table[i].lib = LoadLibrary(table[i].name);
- if (!table[i].lib && (table[i].flags & NZSO_NONCORE) == 0)
- return fail("open library", table[i].name);
+ table[i].lib = LoadLibrary(table[i].path);
+ if (!table[i].lib && (table[i].flags & NZSO_NONCORE) == 0) {
+ return fail("open library", table[i].path);
+ }
}
return 0;
}