Commit 33147c94 authored by Alexandre Julliard's avatar Alexandre Julliard

winegcc: Use explicit library file name when loading cross libraries.

parent 444025d7
......@@ -958,7 +958,7 @@ static void build(struct options* opts)
strarray_add(link_args, name);
break;
case 'a':
if (strchr(name, '/'))
if (!opts->lib_suffix && strchr(name, '/'))
{
/* turn the path back into -Ldir -lfoo options
* this makes sure that we use the specified libs even
......
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