aboutsummaryrefslogtreecommitdiffstats
path: root/code/unix
diff options
context:
space:
mode:
authoricculus <icculus@edf5b092-35ff-0310-97b2-ce42778d08ea>2005-12-05 01:11:41 +0000
committericculus <icculus@edf5b092-35ff-0310-97b2-ce42778d08ea>2005-12-05 01:11:41 +0000
commit5da02a4301441953f1b20d10e7cbbc3e8498d959 (patch)
tree3d0bb47003347a8a1945c8e4e1d8ab99de078d55 /code/unix
parentb090b43e84f60cbf86de4de0be9a60d27724d4de (diff)
downloadioquake3-aero-5da02a4301441953f1b20d10e7cbbc3e8498d959.tar.gz
ioquake3-aero-5da02a4301441953f1b20d10e7cbbc3e8498d959.zip
Look for correct filename extension when loading native DLLs.
git-svn-id: svn://svn.icculus.org/quake3/trunk@416 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code/unix')
-rw-r--r--code/unix/unix_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/code/unix/unix_main.c b/code/unix/unix_main.c
index 6c50a25..80532b0 100644
--- a/code/unix/unix_main.c
+++ b/code/unix/unix_main.c
@@ -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();