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__ #ifdef __APPLE__
#define OPENALLIB "OpenAL.framework/OpenAL" #define OPENALLIB "OpenAL.framework/OpenAL"
#else #else
#define OPENALLIB "libopenal.so" #define OPENALLIB "libopenal.so.1"
#endif #endif
#define LoadLibrary(x) dlopen((x), RTLD_LAZY) #define LoadLibrary(x) dlopen((x), RTLD_LAZY)
#define GetProcAddress(a,b) dlsym((a),(b)) #define GetProcAddress(a,b) dlsym((a),(b))