Commit ada8bf03 authored by Alexandre Julliard's avatar Alexandre Julliard

winegcc: Build Unix libraries as dynamic libs on macOS.

parent 91494ae6
...@@ -478,7 +478,7 @@ static strarray *get_link_args( struct options *opts, const char *output_name ) ...@@ -478,7 +478,7 @@ static strarray *get_link_args( struct options *opts, const char *output_name )
switch (opts->target_platform) switch (opts->target_platform)
{ {
case PLATFORM_APPLE: case PLATFORM_APPLE:
strarray_add( flags, "-bundle" ); strarray_add( flags, opts->unix_lib ? "-dynamiclib" : "-bundle" );
strarray_add( flags, "-multiply_defined" ); strarray_add( flags, "-multiply_defined" );
strarray_add( flags, "suppress" ); strarray_add( flags, "suppress" );
if (opts->target_cpu == CPU_POWERPC) if (opts->target_cpu == CPU_POWERPC)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment