winebuild/winegcc: Allow building .dll.so without .spec file.

This commit is contained in:
Kirill Smelkov 2010-04-23 12:55:27 +04:00 committed by Alexandre Julliard
parent 38138784e7
commit 0b4fe5e56a
2 changed files with 0 additions and 3 deletions

View File

@ -621,7 +621,6 @@ int main(int argc, char **argv)
case MODE_DLL:
if (spec->subsystem != IMAGE_SUBSYSTEM_NATIVE)
spec->characteristics |= IMAGE_FILE_DLL;
if (!spec_file_name) fatal_error( "missing .spec file\n" );
/* fall through */
case MODE_EXE:
load_resources( argv, spec );

View File

@ -674,8 +674,6 @@ static void build(struct options* opts)
else if (file[1] == 'x')
lang = file;
}
if (opts->shared && !spec_file)
error("A spec file is currently needed in shared mode\n");
/* building for Windows is completely different */