From 290f51e3538ef24e7cfe256cf59a1c5ed0bc9179 Mon Sep 17 00:00:00 2001 From: Thilo Schulz Date: Tue, 13 Oct 2009 15:39:39 +0000 Subject: [PATCH] - Change default openal lib to libopenal.so.1 - USE_OPENAL_DLOPEN=1 now default --- Makefile | 6 +----- code/client/snd_openal.c | 2 +- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index d5890607..c2879ebb 100644 --- a/Makefile +++ b/Makefile @@ -112,11 +112,7 @@ USE_OPENAL=1 endif ifndef USE_OPENAL_DLOPEN - ifeq ($(PLATFORM),mingw32) - USE_OPENAL_DLOPEN=1 - else - USE_OPENAL_DLOPEN=0 - endif +USE_OPENAL_DLOPEN=1 endif ifndef USE_CURL diff --git a/code/client/snd_openal.c b/code/client/snd_openal.c index 45b13981..28ba8018 100644 --- a/code/client/snd_openal.c +++ b/code/client/snd_openal.c @@ -1739,7 +1739,7 @@ static cvar_t *s_alCapture; #elif defined(MACOS_X) #define ALDRIVER_DEFAULT "/System/Library/Frameworks/OpenAL.framework/OpenAL" #else -#define ALDRIVER_DEFAULT "libopenal.so.0" +#define ALDRIVER_DEFAULT "libopenal.so.1" #endif /*