Commit e7fe6c0a authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

winegcc: Fix passing -delayload argument to linker.

parent ddfb56c0
...@@ -1260,7 +1260,7 @@ static void build(struct options* opts) ...@@ -1260,7 +1260,7 @@ static void build(struct options* opts)
if (is_pe) if (is_pe)
{ {
for (j = 0; j < opts->delayimports->size; j++) 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++ ) for ( j = 0; j < files->size; j++ )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment