Module: wine Branch: master Commit: c7a210bc2f2758204e99d6c80544348c21e8703e URL: https://source.winehq.org/git/wine.git/?a=commit;h=c7a210bc2f2758204e99d6c80... Author: Jacek Caban <jacek(a)codeweavers.com> Date: Tue Apr 6 00:36:29 2021 +0200 winegcc: Use paths for found libraries on PE targets when using msvcrt. We use -nodefaultlibs now, so we don't need to worry about GCC additions. Signed-off-by: Jacek Caban <jacek(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)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 9297a9b75bd..ae8f64f099d 100644 --- a/tools/winegcc/winegcc.c +++ b/tools/winegcc/winegcc.c @@ -1393,7 +1393,7 @@ static void build(struct options* opts) strarray_add(link_args, name); break; case 'a': - if (is_pe && !opts->lib_suffix && strchr(name, '/')) + if (is_pe && !opts->use_msvcrt && !opts->lib_suffix && strchr(name, '/')) { /* turn the path back into -Ldir -lfoo options * this makes sure that we use the specified libs even