makefiles: Use -munix when building a Unix library.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alexandre Julliard 2020-07-01 10:36:51 +02:00
parent cbc35152c4
commit 2cf256686e
1 changed files with 1 additions and 0 deletions

View File

@ -3355,6 +3355,7 @@ static void output_module( struct makefile *make )
output_filename( tools_path( make, "winegcc" ));
output( "\n" );
output_winegcc_command( make, 0 );
output_filename( "-munix" );
output_filename( "-shared" );
if (strarray_exists( &make->extradllflags, "-nodefaultlibs" )) output_filename( "-nodefaultlibs" );
output_filenames_obj_dir( make, make->unixobj_files );