dlopen libopenal.so not libopenal.so.1 on OpenBSD

This commit is contained in:
Jonathan Gray 2013-05-05 11:28:54 +10:00
parent ee7bd0cae6
commit 3234d2b141
1 changed files with 2 additions and 0 deletions

View File

@ -2125,6 +2125,8 @@ static cvar_t *s_alCapture;
#define ALDRIVER_DEFAULT "OpenAL32.dll" #define ALDRIVER_DEFAULT "OpenAL32.dll"
#elif defined(MACOS_X) #elif defined(MACOS_X)
#define ALDRIVER_DEFAULT "/System/Library/Frameworks/OpenAL.framework/OpenAL" #define ALDRIVER_DEFAULT "/System/Library/Frameworks/OpenAL.framework/OpenAL"
#elif defined(__OpenBSD__)
#define ALDRIVER_DEFAULT "libopenal.so"
#else #else
#define ALDRIVER_DEFAULT "libopenal.so.1" #define ALDRIVER_DEFAULT "libopenal.so.1"
#endif #endif