mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 14:10:40 +00:00
sti: Use --prefer-native instead of DLL_WINE_PREATTACH.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
48b58cf1f4
commit
fe17d149b0
|
@ -2,7 +2,7 @@ MODULE = sti.dll
|
|||
IMPORTLIB = sti
|
||||
IMPORTS = uuid ole32 oleaut32 rpcrt4 advapi32
|
||||
|
||||
EXTRADLLFLAGS = -mno-cygwin
|
||||
EXTRADLLFLAGS = -mno-cygwin -Wb,--prefer-native
|
||||
|
||||
C_SRCS = \
|
||||
sti.c \
|
||||
|
|
|
@ -137,8 +137,6 @@ BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID lpvReserved)
|
|||
{
|
||||
TRACE("(0x%p, %d, %p)\n",hInstDLL,fdwReason,lpvReserved);
|
||||
|
||||
if (fdwReason == DLL_WINE_PREATTACH)
|
||||
return FALSE;
|
||||
return STI_DllMain(hInstDLL, fdwReason, lpvReserved);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue