summaryrefslogtreecommitdiff
path: root/src/logic/slbt_exec_ctx.c
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-04-06 02:00:51 -0400
committermidipix <writeonce@midipix.org>2016-04-06 02:00:51 -0400
commit0f859168d7cb37b2cbb74d9405f8e2aa861c2a88 (patch)
tree28c0512bcc3b2771ed1ea6411c1f22e9ed640627 /src/logic/slbt_exec_ctx.c
parent3deeba0ce76e9ac7ef5aa03015d511312b4829c3 (diff)
downloadslibtool-0f859168d7cb37b2cbb74d9405f8e2aa861c2a88.tar.bz2
slibtool-0f859168d7cb37b2cbb74d9405f8e2aa861c2a88.tar.xz
link mode: added -soname support.
Diffstat (limited to 'src/logic/slbt_exec_ctx.c')
-rw-r--r--src/logic/slbt_exec_ctx.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/logic/slbt_exec_ctx.c b/src/logic/slbt_exec_ctx.c
index 8b20f95..620cde7 100644
--- a/src/logic/slbt_exec_ctx.c
+++ b/src/logic/slbt_exec_ctx.c
@@ -227,8 +227,10 @@ int slbt_get_exec_ctx(
ictx->ctx.fpic = &ictx->ctx.argv[i++];
ictx->ctx.cass = &ictx->ctx.argv[i++];
-
ictx->ctx.noundef = &ictx->ctx.argv[i++];
+ ictx->ctx.soname = &ictx->ctx.argv[i++];
+ ictx->ctx.lsoname = &ictx->ctx.argv[i++];
+
ictx->ctx.lout[0] = &ictx->ctx.argv[i++];
ictx->ctx.lout[1] = &ictx->ctx.argv[i++];
ictx->ctx.sentinel= &ictx->ctx.argv[i++];
@@ -361,6 +363,9 @@ void slbt_reset_placeholders(struct slbt_exec_ctx * ectx)
*ectx->cass = "-USLIBTOOL_PLACEHOLDER_COMPILE_ASSEMBLE";
*ectx->noundef = "-USLIBTOOL_PLACEHOLDER_NO_UNDEFINED";
+ *ectx->soname = "-USLIBTOOL_PLACEHOLDER_SONAME";
+ *ectx->lsoname = "-USLIBTOOL_PLACEHOLDER_LSONAME";
+
*ectx->lout[0] = "-USLIBTOOL_PLACEHOLDER_OUTPUT_SWITCH";
*ectx->lout[1] = "-USLIBTOOL_PLACEHOLDER_OUTPUT_FILE";
*ectx->sentinel= 0;