winegcc: Link against winecrt0 for the Mingw build too.

This commit is contained in:
Alexandre Julliard 2009-06-05 14:42:18 +02:00
parent 49f1d5f7c8
commit 284438dc71
1 changed files with 1 additions and 0 deletions

View File

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