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

Alexandre Julliard julliard at wine.codeweavers.com
Mon Mar 28 09:12:36 CDT 2016


Module: wine
Branch: master
Commit: 33147c94750099f09674b12ba27398b3b16082f8
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=33147c94750099f09674b12ba27398b3b16082f8

Author: Alexandre Julliard <julliard at 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 at 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




More information about the wine-cvs mailing list