output_name already contains .exe extension, don't add it again for -F
option.
This commit is contained in:
parent
8188790946
commit
b12ad3ad7b
|
@ -532,7 +532,7 @@ static void build(struct options* opts)
|
||||||
if (!opts->shared)
|
if (!opts->shared)
|
||||||
{
|
{
|
||||||
strarray_add(spec_args, "-F");
|
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, "--subsystem");
|
||||||
strarray_add(spec_args, opts->gui_app ? "windows" : "console");
|
strarray_add(spec_args, opts->gui_app ? "windows" : "console");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue