summaryrefslogtreecommitdiff
path: root/src/logic/linkcmd
diff options
context:
space:
mode:
Diffstat (limited to 'src/logic/linkcmd')
-rw-r--r--src/logic/linkcmd/slbt_linkcmd_argv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/logic/linkcmd/slbt_linkcmd_argv.c b/src/logic/linkcmd/slbt_linkcmd_argv.c
index 6132b86..0861a15 100644
--- a/src/logic/linkcmd/slbt_linkcmd_argv.c
+++ b/src/logic/linkcmd/slbt_linkcmd_argv.c
@@ -647,7 +647,7 @@ int slbt_exec_link_finalize_argument_vector(
/* local archive input argument? */
} else if (dot && !strcmp(dot,arsuffix)) {
- *oarg++ = *parg++;
+ *aarg++ = *parg++;
/* -l argument? */
} else if ((parg[0][0] == '-') && (parg[0][1] == 'l')) {