winegcc: Do use DSO full name for .so arguments.

This commit is contained in:
Kirill Smelkov 2010-04-23 12:55:28 +04:00 committed by Alexandre Julliard
parent 0b4fe5e56a
commit b25cd21df2
1 changed files with 2 additions and 2 deletions

View File

@ -739,10 +739,10 @@ static void build(struct options* opts)
switch(files->base[j][1]) switch(files->base[j][1])
{ {
case 'l': case 'l':
case 's':
case 'd': case 'd':
strarray_add(link_args, strmake("-l%s", name)); strarray_add(link_args, strmake("-l%s", name));
break; break;
case 's':
case 'o': case 'o':
strarray_add(link_args, name); strarray_add(link_args, name);
break; break;
@ -922,9 +922,9 @@ static void build(struct options* opts)
switch(files->base[j][1]) switch(files->base[j][1])
{ {
case 'l': case 'l':
case 's':
strarray_add(link_args, strmake("-l%s", name)); strarray_add(link_args, strmake("-l%s", name));
break; break;
case 's':
case 'a': case 'a':
case 'o': case 'o':
strarray_add(link_args, name); strarray_add(link_args, name);