Alexandre Julliard : openal32: Use --prefer-native instead of DLL_WINE_PREATTACH.
Alexandre Julliard
julliard at winehq.org
Fri Feb 26 14:39:28 CST 2021
Module: wine
Branch: master
Commit: 50edd41014a84d779b08c8948627ccc226f59ee1
URL: https://source.winehq.org/git/wine.git/?a=commit;h=50edd41014a84d779b08c8948627ccc226f59ee1
Author: Alexandre Julliard <julliard at winehq.org>
Date: Fri Feb 26 10:23:39 2021 +0100
openal32: Use --prefer-native instead of DLL_WINE_PREATTACH.
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/openal32/Makefile.in | 2 ++
dlls/openal32/openal.c | 2 --
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/openal32/Makefile.in b/dlls/openal32/Makefile.in
index 1b794a3fc60..c787d96f886 100644
--- a/dlls/openal32/Makefile.in
+++ b/dlls/openal32/Makefile.in
@@ -1,5 +1,7 @@
MODULE = openal32.dll
EXTRALIBS = $(OPENAL_LIBS)
+EXTRADLLFLAGS = -Wb,--prefer-native
+
C_SRCS = \
openal.c
diff --git a/dlls/openal32/openal.c b/dlls/openal32/openal.c
index cd49b926a83..5a4e1e71e36 100644
--- a/dlls/openal32/openal.c
+++ b/dlls/openal32/openal.c
@@ -99,8 +99,6 @@ BOOL WINAPI DllMain( HINSTANCE hinst, DWORD reason, LPVOID reserved )
{
switch(reason)
{
- case DLL_WINE_PREATTACH:
- return FALSE; /* prefer native version */
case DLL_PROCESS_ATTACH:
DisableThreadLibraryCalls(hinst);
#define LOADFUNC(x) x = alcGetProcAddress(NULL, #x)
More information about the wine-cvs
mailing list