winegcc: Use -static-libgcc for the Windows build.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
170bd8f361
commit
0d175fe861
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue