From 33147c94750099f09674b12ba27398b3b16082f8 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Mon, 28 Mar 2016 12:18:59 +0900 Subject: [PATCH] winegcc: Use explicit library file name when loading cross libraries. Signed-off-by: Alexandre Julliard --- 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 1dffe74397d..8b69053c26d 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