Commit 1cb75101 authored by Alexandre Julliard's avatar Alexandre Julliard

winegcc: Don't use the library full name for .so libs.

parent 1e3b6b18
......@@ -401,8 +401,6 @@ static void add_library( strarray *lib_dirs, strarray *files, const char *librar
}
break;
case file_so:
strarray_add(files, strmake("-s%s", fullname));
break;
default:
/* keep it anyway, the linker may know what to do with it */
strarray_add(files, strmake("-l%s", library));
......@@ -628,9 +626,9 @@ static void build(struct options* opts)
switch(files->base[j][1])
{
case 'l':
case 's':
strarray_add(link_args, strmake("-l%s", name));
break;
case 's':
case 'a':
case 'o':
strarray_add(link_args, name);
......
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