Module: wine Branch: master Commit: b462c20876feae7b1384a50a8acfa5b376562bda URL: http://source.winehq.org/git/wine.git/?a=commit;h=b462c20876feae7b1384a50a8a...
Author: Alexandre Julliard julliard@winehq.org Date: Tue Dec 11 12:52:26 2007 +0100
winebuild: Don't set the IMAGE_FILE_DLL flag on native modules.
---
tools/winebuild/main.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/tools/winebuild/main.c b/tools/winebuild/main.c index 5005fe1..3238b2a 100644 --- a/tools/winebuild/main.c +++ b/tools/winebuild/main.c @@ -594,7 +594,8 @@ int main(int argc, char **argv) switch(exec_mode) { case MODE_DLL: - spec->characteristics |= IMAGE_FILE_DLL; + if (spec->subsystem != IMAGE_SUBSYSTEM_NATIVE) + spec->characteristics |= IMAGE_FILE_DLL; load_resources( argv, spec ); load_import_libs( argv ); if (!spec_file_name) fatal_error( "missing .spec file\n" );