Look for correct filename extension when loading native DLLs.

This commit is contained in:
Ryan C. Gordon committed 2005-12-05 01:11:41 +00:00
1 parent 24209ecec6
commit cfdd586ef8
2 files changed
+17 -1

No files matched your search

+1 -1
View File
@@ -800,7 +800,7 @@ void *Sys_LoadDll( const char *name, char *fqpath ,
assert( name );
getcwd(curpath, sizeof(curpath));
snprintf (fname, sizeof(fname), "%s" ARCH_STRING ".so", name);
snprintf (fname, sizeof(fname), "%s" ARCH_STRING DLL_EXT, name);
// TODO: use fs_searchpaths from files.c
pwdpath = Sys_Cwd();