summaryrefslogtreecommitdiffhomepage
path: root/src/logic
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-04-09 13:40:13 -0400
committermidipix <writeonce@midipix.org>2016-04-09 19:00:57 -0400
commit2a7f1c397f3476a5e3b7aede06f1415954a0c16d (patch)
treeb8868b57f297ee55255ccd2c31944d46bf24029c /src/logic
parent340edad7c8fd59148cd15a92b78bc7536140cc45 (diff)
downloadslibtool-2a7f1c397f3476a5e3b7aede06f1415954a0c16d.tar.bz2
slibtool-2a7f1c397f3476a5e3b7aede06f1415954a0c16d.tar.xz
execution context: slbt_disable_placeholders(): initial implementation.
Diffstat (limited to 'src/logic')
-rw-r--r--src/logic/slbt_exec_ctx.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/logic/slbt_exec_ctx.c b/src/logic/slbt_exec_ctx.c
index 620cde7..5f08526 100644
--- a/src/logic/slbt_exec_ctx.c
+++ b/src/logic/slbt_exec_ctx.c
@@ -370,3 +370,18 @@ void slbt_reset_placeholders(struct slbt_exec_ctx * ectx)
*ectx->lout[1] = "-USLIBTOOL_PLACEHOLDER_OUTPUT_FILE";
*ectx->sentinel= 0;
}
+
+void slbt_disable_placeholders(struct slbt_exec_ctx * ectx)
+{
+ *ectx->dpic = 0;
+ *ectx->fpic = 0;
+ *ectx->cass = 0;
+
+ *ectx->noundef = 0;
+ *ectx->soname = 0;
+ *ectx->lsoname = 0;
+
+ *ectx->lout[0] = 0;
+ *ectx->lout[1] = 0;
+ *ectx->sentinel= 0;
+}