Messed up previous commit...

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2948 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Molgrum 2008-04-29 22:14:16 +00:00
parent dfb02eebbf
commit 5852614cf5

View file

@ -136,10 +136,13 @@ static qboolean Alsa_InitAlsa(void)
// Try alternative names of libasound, sometimes it is not linked correctly. // Try alternative names of libasound, sometimes it is not linked correctly.
alsasharedobject = dlopen("libasound.so.2", RTLD_LAZY|RTLD_LOCAL); alsasharedobject = dlopen("libasound.so.2", RTLD_LAZY|RTLD_LOCAL);
alsasharedobject = dlopen("libasound.so", RTLD_LAZY|RTLD_LOCAL);
if (!alsasharedobject) if (!alsasharedobject)
{ {
return false; alsasharedobject = dlopen("libasound.so", RTLD_LAZY|RTLD_LOCAL);
if (!alsasharedobject)
{
return false;
}
} }