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)