winebuild: Make the 32-bit side of a 16-bit module always a DLL.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
master
Alexandre Julliard 2020-06-19 12:57:23 +02:00
parent d085e5ba72
commit cee48cc789
1 changed files with 1 additions and 5 deletions

View File

@ -826,11 +826,7 @@ void add_16bit_exports( DLLSPEC *spec32, DLLSPEC *spec16 )
ORDDEF *odp;
spec32->file_name = xstrdup( spec16->file_name );
if (spec16->characteristics & IMAGE_FILE_DLL)
{
spec32->characteristics = IMAGE_FILE_DLL;
spec32->init_func = xstrdup( "DllMain" );
}
spec32->characteristics = IMAGE_FILE_DLL;
/* add an export for the NE module */