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

@ -79,7 +79,9 @@ static qboolean SSDL_InitAudio(void)
static dllhandle_t *libsdl;
if (!libsdl)
{
libsdl = Sys_LoadLibrary("libSDL2.so", funcs);
libsdl = Sys_LoadLibrary("libSDL2-2.0.so.0", funcs);
if (!libsdl)
libsdl = Sys_LoadLibrary("libSDL2.so", funcs); //maybe they have a dev package installed that fixes this mess.
if (libsdl)
SDL_Init(SDL_INIT_NOPARACHUTE);
else