Use the correct OpenAL lib name on Linux

This commit is contained in:
Chris Robinson 2016-05-01 21:07:41 -07:00 committed by Christoph Oelckers
parent 52995f8fc2
commit 55294c5806

View file

@ -69,7 +69,7 @@ static void* hmodOpenAL;
#ifdef __APPLE__
#define OPENALLIB "OpenAL.framework/OpenAL"
#else
#define OPENALLIB "libopenal.so"
#define OPENALLIB "libopenal.so.1"
#endif
#define LoadLibrary(x) dlopen((x), RTLD_LAZY)
#define GetProcAddress(a,b) dlsym((a),(b))