openal32: Use --prefer-native instead of DLL_WINE_PREATTACH.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
a770fc8a3a
commit
50edd41014
|
@ -1,5 +1,7 @@
|
|||
MODULE = openal32.dll
|
||||
EXTRALIBS = $(OPENAL_LIBS)
|
||||
|
||||
EXTRADLLFLAGS = -Wb,--prefer-native
|
||||
|
||||
C_SRCS = \
|
||||
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)
|
||||
|
|
Loading…
Reference in New Issue