winegcc: Build Unix libraries as dynamic libs on macOS.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
91494ae6f2
commit
ada8bf034a
tools/winegcc
|
@ -478,7 +478,7 @@ static strarray *get_link_args( struct options *opts, const char *output_name )
|
|||
switch (opts->target_platform)
|
||||
{
|
||||
case PLATFORM_APPLE:
|
||||
strarray_add( flags, "-bundle" );
|
||||
strarray_add( flags, opts->unix_lib ? "-dynamiclib" : "-bundle" );
|
||||
strarray_add( flags, "-multiply_defined" );
|
||||
strarray_add( flags, "suppress" );
|
||||
if (opts->target_cpu == CPU_POWERPC)
|
||||
|
|
Loading…
Reference in New Issue