winegcc: Use explicit library file name when loading cross libraries.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
444025d7fb
commit
33147c9475
|
@ -958,7 +958,7 @@ static void build(struct options* opts)
|
||||||
strarray_add(link_args, name);
|
strarray_add(link_args, name);
|
||||||
break;
|
break;
|
||||||
case 'a':
|
case 'a':
|
||||||
if (strchr(name, '/'))
|
if (!opts->lib_suffix && strchr(name, '/'))
|
||||||
{
|
{
|
||||||
/* turn the path back into -Ldir -lfoo options
|
/* turn the path back into -Ldir -lfoo options
|
||||||
* this makes sure that we use the specified libs even
|
* this makes sure that we use the specified libs even
|
||||||
|
|
Loading…
Reference in New Issue