winebuild: Don't set the IMAGE_FILE_DLL flag on native modules.

This commit is contained in:
Alexandre Julliard 2007-12-11 12:52:26 +01:00
parent a5fb981ace
commit b462c20876
1 changed files with 2 additions and 1 deletions

View File

@ -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" );