winegcc: Use -static-libgcc for the Windows build.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alexandre Julliard 2019-05-16 16:04:00 +02:00
parent 170bd8f361
commit 0d175fe861
1 changed files with 3 additions and 0 deletions

View File

@ -455,6 +455,9 @@ static strarray *get_link_args( struct options *opts, const char *output_name )
if (opts->large_address_aware && opts->target_cpu == CPU_x86)
strarray_add( flags, "-Wl,--large-address-aware" );
/* make sure we don't need a libgcc_s dll on Windows */
strarray_add( flags, "-static-libgcc" );
return flags;
default: