diff --git a/tools/winegcc/winegcc.c b/tools/winegcc/winegcc.c index bb4803fab0..8abddffa7a 100644 --- a/tools/winegcc/winegcc.c +++ b/tools/winegcc/winegcc.c @@ -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"); }