Commit 50edd410 authored by Alexandre Julliard's avatar Alexandre Julliard

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

parent a770fc8a
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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment