output_name already contains .exe extension, don't add it again for -F

option.
This commit is contained in:
Alexandre Julliard 2005-05-05 16:44:38 +00:00
parent 8188790946
commit b12ad3ad7b

View File

@ -532,7 +532,7 @@ static void build(struct options* opts)
if (!opts->shared)
{
strarray_add(spec_args, "-F");
strarray_add(spec_args, strmake("%s.exe", output_name));
strarray_add(spec_args, output_name);
strarray_add(spec_args, "--subsystem");
strarray_add(spec_args, opts->gui_app ? "windows" : "console");
}