summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2024-02-15 04:42:57 +0000
committermidipix <writeonce@midipix.org>2024-02-15 04:42:57 +0000
commit35000fa828ed7c786c3e6fb0379edd968663cd02 (patch)
tree15a8eabdfeb4574e8c463a0f3bed946701e8bd20
parent270b467ccfcc14e665acc8706bed0daef99134af (diff)
downloadslibtool-35000fa828ed7c786c3e6fb0379edd968663cd02.tar.bz2
slibtool-35000fa828ed7c786c3e6fb0379edd968663cd02.tar.xz
link mode: argument vector: move non-convenience archives past all input objs.
-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')) {