From 8cf418314c5183f5d04b4d16e9907b67a961fc1a Mon Sep 17 00:00:00 2001 From: Jacek Caban Date: Fri, 21 Feb 2020 13:57:52 +0100 Subject: [PATCH] winegcc: Recognize -rtlib as linker argument. Signed-off-by: Jacek Caban Signed-off-by: Alexandre Julliard --- tools/winegcc/winegcc.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/winegcc/winegcc.c b/tools/winegcc/winegcc.c index bee81edcc3c..f05f777a55f 100644 --- a/tools/winegcc/winegcc.c +++ b/tools/winegcc/winegcc.c @@ -1373,6 +1373,9 @@ static int is_linker_arg(const char* arg) case 'f': if (strncmp("-fuse-ld=", arg, 9) == 0) return 1; break; + case 'r': + if (strncmp("-rtlib=", arg, 7) == 0) return 1; + break; } for (j = 0; j < ARRAY_SIZE(link_switches); j++)