summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-04-03 20:42:13 -0400
committermidipix <writeonce@midipix.org>2016-04-04 17:47:58 -0400
commit62a7c9c2e97f6f8ce1f3a0b19bd085eba648182a (patch)
tree0013447ed613c2a5ceca0e1040b6df49e2f8707d /src
parentf730acf96986d564da7512d4089af5afb45faeb9 (diff)
downloadslibtool-62a7c9c2e97f6f8ce1f3a0b19bd085eba648182a.tar.bz2
slibtool-62a7c9c2e97f6f8ce1f3a0b19bd085eba648182a.tar.xz
execution context: add missing placeholder initialization.
Diffstat (limited to 'src')
-rw-r--r--src/logic/slbt_exec_ctx.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/logic/slbt_exec_ctx.c b/src/logic/slbt_exec_ctx.c
index 3eec822..c7b2eb5 100644
--- a/src/logic/slbt_exec_ctx.c
+++ b/src/logic/slbt_exec_ctx.c
@@ -223,6 +223,8 @@ int slbt_get_exec_ctx(
ictx->ctx.lout[0] = &ictx->ctx.argv[i++];
ictx->ctx.lout[1] = &ictx->ctx.argv[i++];
+ slbt_reset_placeholders(&ictx->ctx);
+
/* output file name */
if (ref && ((dctx->cctx->mode == SLBT_MODE_COMPILE))) {
*ictx->ctx.lout[0] = "-o";