Commit 0b4fe5e5 authored by Kirill Smelkov's avatar Kirill Smelkov Committed by Alexandre Julliard

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

parent 38138784
......@@ -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 */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment