aboutsummaryrefslogtreecommitdiffstats
path: root/erts/test/utils/gccifier.c
diff options
context:
space:
mode:
Diffstat (limited to 'erts/test/utils/gccifier.c')
-rw-r--r--erts/test/utils/gccifier.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/erts/test/utils/gccifier.c b/erts/test/utils/gccifier.c
index 2acd50a479..a1019f9a72 100644
--- a/erts/test/utils/gccifier.c
+++ b/erts/test/utils/gccifier.c
@@ -237,6 +237,9 @@ main(int argc, char *argv[])
CHECK_FIRST_LINK_ARG;
save_arg(&link_args, "-libpath:", arg, NULL);
}
+ else if (strcmp("-link",arg) == 0) {
+ CHECK_FIRST_LINK_ARG;
+ }
#endif /* #ifdef __WIN32__ */
else if (is_prefix("-l", &arg)) {
CHECK_FIRST_LINK_ARG;