From b12ad3ad7b4856c1bedb96cd853ae16f8752e890 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Thu, 5 May 2005 16:44:38 +0000 Subject: [PATCH] output_name already contains .exe extension, don't add it again for -F option. --- tools/winegcc/winegcc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/winegcc/winegcc.c b/tools/winegcc/winegcc.c index bb4803fab0e..8abddffa7a5 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"); }