openal32: Use --prefer-native instead of DLL_WINE_PREATTACH.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alexandre Julliard 2021-02-26 10:23:39 +01:00
parent a770fc8a3a
commit 50edd41014
2 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,7 @@
MODULE = openal32.dll
EXTRALIBS = $(OPENAL_LIBS)
EXTRADLLFLAGS = -Wb,--prefer-native
C_SRCS = \
openal.c

View File

@ -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)