Module: wine Branch: master Commit: 33147c94750099f09674b12ba27398b3b16082f8 URL: http://source.winehq.org/git/wine.git/?a=commit;h=33147c94750099f09674b12ba2...
Author: Alexandre Julliard julliard@winehq.org Date: Mon Mar 28 12:18:59 2016 +0900
winegcc: Use explicit library file name when loading cross libraries.
Signed-off-by: Alexandre Julliard julliard@winehq.org
---
tools/winegcc/winegcc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/winegcc/winegcc.c b/tools/winegcc/winegcc.c index 1dffe74..8b69053 100644 --- a/tools/winegcc/winegcc.c +++ b/tools/winegcc/winegcc.c @@ -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