Commit 284438dc authored by Alexandre Julliard's avatar Alexandre Julliard

winegcc: Link against winecrt0 for the Mingw build too.

parent 49f1d5f7
......@@ -694,6 +694,7 @@ static void build(struct options* opts)
for ( j = 0; j < lib_dirs->size; j++ )
strarray_add(link_args, strmake("-L%s", lib_dirs->base[j]));
if (!opts->nostartfiles) add_library(opts, lib_dirs, files, "winecrt0");
if (opts->shared && !opts->nostdlib) add_library(opts, lib_dirs, files, "wine");
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