mscoree: Use --prefer-native instead of DLL_WINE_PREATTACH.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
ade15558db
commit
ce90e69eeb
|
@ -1,7 +1,7 @@
|
|||
MODULE = mscoree.dll
|
||||
IMPORTS = dbghelp uuid shell32 advapi32 ole32 oleaut32 shlwapi
|
||||
|
||||
EXTRADLLFLAGS = -mno-cygwin
|
||||
EXTRADLLFLAGS = -mno-cygwin -Wb,--prefer-native
|
||||
|
||||
C_SRCS = \
|
||||
assembly.c \
|
||||
|
|
|
@ -224,8 +224,6 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
|
|||
|
||||
switch (fdwReason)
|
||||
{
|
||||
case DLL_WINE_PREATTACH:
|
||||
return FALSE; /* prefer native version */
|
||||
case DLL_PROCESS_ATTACH:
|
||||
runtimehost_init();
|
||||
DisableThreadLibraryCalls(hinstDLL);
|
||||
|
|
Loading…
Reference in New Issue