winegcc: Recognize -rtlib as linker argument.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Jacek Caban 2020-02-21 13:57:52 +01:00 committed by Alexandre Julliard
parent 0f932c9d45
commit 8cf418314c

View File

@ -1373,6 +1373,9 @@ static int is_linker_arg(const char* arg)
case 'f': case 'f':
if (strncmp("-fuse-ld=", arg, 9) == 0) return 1; if (strncmp("-fuse-ld=", arg, 9) == 0) return 1;
break; break;
case 'r':
if (strncmp("-rtlib=", arg, 7) == 0) return 1;
break;
} }
for (j = 0; j < ARRAY_SIZE(link_switches); j++) for (j = 0; j < ARRAY_SIZE(link_switches); j++)