summaryrefslogtreecommitdiff
path: root/src/client/snd_openal.c
diff options
context:
space:
mode:
authorJonathan Gray <jsg@jsg.id.au>2013-05-05 11:28:54 +1000
committerTim Angus <tim@ngus.net>2013-05-31 23:10:46 +0100
commit76decfebffa5f8525d29074866d4f27d574d6faf (patch)
tree18f853e453a5c2949b298c960bb12529bcbd1744 /src/client/snd_openal.c
parenta65a03b1fb3a491738e9849764fa61388c147db9 (diff)
dlopen libopenal.so not libopenal.so.1 on OpenBSD
Diffstat (limited to 'src/client/snd_openal.c')
-rw-r--r--src/client/snd_openal.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client/snd_openal.c b/src/client/snd_openal.c
index 629f8921..e26375c2 100644
--- a/src/client/snd_openal.c
+++ b/src/client/snd_openal.c
@@ -2144,6 +2144,8 @@ static cvar_t *s_alCapture;
#define ALDRIVER_DEFAULT "OpenAL32.dll"
#elif defined(MACOS_X)
#define ALDRIVER_DEFAULT "/System/Library/Frameworks/OpenAL.framework/OpenAL"
+#elif defined(__OpenBSD__)
+#define ALDRIVER_DEFAULT "libopenal.so"
#else
#define ALDRIVER_DEFAULT "libopenal.so.1"
#endif