summaryrefslogtreecommitdiffhomepage
path: root/src/logic/slbt_exec_ctx.c
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-04-28 17:17:50 -0400
committermidipix <writeonce@midipix.org>2016-04-28 17:17:50 -0400
commit3e7d5bf7bb66b14b327b6997b1793a6ceb3f8fc2 (patch)
tree8534b4fd9bea25d07cd6023fdaccf576534b1384 /src/logic/slbt_exec_ctx.c
parent9b5eecc5353d43c6635a066dbd288154a9eb1ea6 (diff)
downloadslibtool-3e7d5bf7bb66b14b327b6997b1793a6ceb3f8fc2.tar.bz2
slibtool-3e7d5bf7bb66b14b327b6997b1793a6ceb3f8fc2.tar.xz
execution context: added -rpath placeholders.
Diffstat (limited to 'src/logic/slbt_exec_ctx.c')
-rw-r--r--src/logic/slbt_exec_ctx.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/logic/slbt_exec_ctx.c b/src/logic/slbt_exec_ctx.c
index 17c6cd8..e874ec6 100644
--- a/src/logic/slbt_exec_ctx.c
+++ b/src/logic/slbt_exec_ctx.c
@@ -447,6 +447,10 @@ void slbt_reset_placeholders(struct slbt_exec_ctx * ectx)
*ectx->lout[0] = "-USLIBTOOL_PLACEHOLDER_OUTPUT_SWITCH";
*ectx->lout[1] = "-USLIBTOOL_PLACEHOLDER_OUTPUT_FILE";
+
+ *ectx->rpath[0] = "-USLIBTOOL_PLACEHOLDER_RPATH_SWITCH";
+ *ectx->rpath[1] = "-USLIBTOOL_PLACEHOLDER_RPATH_DIR";
+
*ectx->sentinel= 0;
}
@@ -464,5 +468,9 @@ void slbt_disable_placeholders(struct slbt_exec_ctx * ectx)
*ectx->lout[0] = 0;
*ectx->lout[1] = 0;
+
+ *ectx->rpath[0] = 0;
+ *ectx->rpath[1] = 0;
+
*ectx->sentinel= 0;
}