winegcc: Recognize -rtlib as linker argument.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
feature/deterministic
Jacek Caban 2020-02-21 13:57:52 +01:00 committed by Alexandre Julliard
parent 0f932c9d45
commit 8cf418314c
1 changed files with 3 additions and 0 deletions

View File

@ -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++)