winebuild/winegcc: Allow building .dll.so without .spec file.
This commit is contained in:
parent
38138784e7
commit
0b4fe5e56a
|
@ -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 );
|
||||
|
|
|
@ -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 */
|
||||
|
||||
|
|
Loading…
Reference in New Issue