winegcc: Use -soname for unix libs.
Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
8285f61603
commit
388c91042c
|
@ -594,6 +594,7 @@ static strarray *get_link_args( struct options *opts, const char *output_name )
|
|||
}
|
||||
if (!try_link( opts->prefix, link_args, "-Wl,-z,max-page-size=0x1000"))
|
||||
strarray_add( flags, "-Wl,-z,max-page-size=0x1000");
|
||||
if (opts->unix_lib) strarray_add( flags, strmake( "-Wl,-soname,%s.so", output_name ));
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue