fix some linux library issues. should no longer be quite so dependant upon dev packages...

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5022 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2016-11-02 08:01:21 +00:00
parent eefc950400
commit 018aed2c19
14 changed files with 453 additions and 178 deletions

View file

@ -417,7 +417,9 @@ static qboolean OV_StartDecode(unsigned char *start, unsigned long length, ovdec
}
#else
{
oggvorbislibrary = Sys_LoadLibrary("libvorbisfile", funcs);
oggvorbislibrary = Sys_LoadLibrary("libvorbisfile.so.3", funcs);
if (!oggvorbislibrary)
oggvorbislibrary = Sys_LoadLibrary("libvorbisfile", funcs);
if (!oggvorbislibrary)
Con_Printf("Couldn't load library: \"libvorbisfile\".\n");
}