From e7fe6c0ac2c6b4ef3e0118cd737e738729c819af Mon Sep 17 00:00:00 2001 From: Jacek Caban Date: Fri, 28 Feb 2020 14:52:32 +0100 Subject: [PATCH] winegcc: Fix passing -delayload argument to linker. Signed-off-by: Jacek Caban Signed-off-by: Alexandre Julliard --- 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 e53e32e22d4..a5519352dd7 100644 --- a/tools/winegcc/winegcc.c +++ b/tools/winegcc/winegcc.c @@ -1260,7 +1260,7 @@ static void build(struct options* opts) if (is_pe) { for (j = 0; j < opts->delayimports->size; j++) - strarray_add(spec_args, strmake("-Wl,-delayload,%s", opts->delayimports->base[j])); + strarray_add(link_args, strmake("-Wl,-delayload,%s", opts->delayimports->base[j])); } for ( j = 0; j < files->size; j++ )