scrrun: 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:49 +01:00
parent 56700c5387
commit 692114d774
2 changed files with 1 additions and 3 deletions

View File

@ -1,7 +1,7 @@
MODULE = scrrun.dll
IMPORTS = uuid oleaut32 version advapi32
EXTRADLLFLAGS = -mno-cygwin
EXTRADLLFLAGS = -mno-cygwin -Wb,--prefer-native
C_SRCS = \
dictionary.c \

View File

@ -242,8 +242,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 );
scrrun_instance = hinst;