From cee48cc78989cc2621bb98b466f80a35cfa43a12 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Fri, 19 Jun 2020 12:57:23 +0200 Subject: [PATCH] winebuild: Make the 32-bit side of a 16-bit module always a DLL. Signed-off-by: Alexandre Julliard --- tools/winebuild/parser.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/tools/winebuild/parser.c b/tools/winebuild/parser.c index 0f2b9c1e10a..0207b8ac3c3 100644 --- a/tools/winebuild/parser.c +++ b/tools/winebuild/parser.c @@ -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 */