Look for correct filename extension when loading native DLLs.
This commit is contained in:
1 parent
24209ecec6
commit
cfdd586ef8
2 files changed
+17
-1
No files matched your search
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user