diff --git a/tools/winebuild/utils.c b/tools/winebuild/utils.c index c1e42ad4835..8f137d87fe5 100644 --- a/tools/winebuild/utils.c +++ b/tools/winebuild/utils.c @@ -336,6 +336,8 @@ DLLSPEC *alloc_dll_spec(void) spec->characteristics = IMAGE_FILE_EXECUTABLE_IMAGE; if (get_ptr_size() > 4) spec->characteristics |= IMAGE_FILE_LARGE_ADDRESS_AWARE; + else + spec->characteristics |= IMAGE_FILE_32BIT_MACHINE; spec->dll_characteristics = IMAGE_DLLCHARACTERISTICS_NX_COMPAT; spec->subsystem = 0; spec->subsystem_major = 4;