diff options
Diffstat (limited to 'src/logic')
-rw-r--r-- | src/logic/slbt_exec_ctx.c | 3 | ||||
-rw-r--r-- | src/logic/slbt_exec_link.c | 7 |
2 files changed, 10 insertions, 0 deletions
diff --git a/src/logic/slbt_exec_ctx.c b/src/logic/slbt_exec_ctx.c index e9e7340..320314b 100644 --- a/src/logic/slbt_exec_ctx.c +++ b/src/logic/slbt_exec_ctx.c @@ -464,6 +464,9 @@ void slbt_reset_placeholders(struct slbt_exec_ctx * ectx) *ectx->rpath[0] = "-USLIBTOOL_PLACEHOLDER_RPATH_SWITCH"; *ectx->rpath[1] = "-USLIBTOOL_PLACEHOLDER_RPATH_DIR"; + ectx->mout[0] = 0; + ectx->mout[1] = 0; + *ectx->sentinel= 0; } diff --git a/src/logic/slbt_exec_link.c b/src/logic/slbt_exec_link.c index 1c872be..452c9da 100644 --- a/src/logic/slbt_exec_link.c +++ b/src/logic/slbt_exec_link.c @@ -277,6 +277,13 @@ static int slbt_exec_link_adjust_argument_vector( + /* output annotation */ + if (carg == ectx->lout[0]) { + ectx->mout[0] = &aarg[0]; + ectx->mout[1] = &aarg[1]; + } + + /* argument translation */ if (**carg == '-') { *aarg++ = *carg++; |