like it's supposed to, like it claims to, but which it doesn't
do, until I've drop-kicked the fix through it's thick head.
return handle;
}
#endif
+ /*
+ * WTF? It's SUPPOSED to look for statically linked libraries,
+ * but the bugger doesn't!
+ */
+ strcpy(tmp, filename);
+ strcat(tmp, ".a");
+ handle = lt_dlopen(tmp);
+ if (handle) {
+ last_error = saved_error;
+ lt_dlfree(tmp);
+ return handle;
+ }
last_error = file_not_found_error;
lt_dlfree(tmp);
return 0;