summaryrefslogtreecommitdiff
path: root/src/logic/slbt_exec_ctx.c
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-04-24 09:14:59 -0400
committermidipix <writeonce@midipix.org>2016-04-24 10:31:23 -0400
commit112a2bc026f48bf9453c2bb8766f730e8c0d1bc9 (patch)
treeac307b883e62fd368f0a3e9e0128a01e55479cda /src/logic/slbt_exec_ctx.c
parent1f87fd5f1cddc5ad065a3f85b5fd5d09d709dca1 (diff)
downloadslibtool-112a2bc026f48bf9453c2bb8766f730e8c0d1bc9.tar.bz2
slibtool-112a2bc026f48bf9453c2bb8766f730e8c0d1bc9.tar.xz
execution context: link mode: install mode: added -release semantics support.
Diffstat (limited to 'src/logic/slbt_exec_ctx.c')
-rw-r--r--src/logic/slbt_exec_ctx.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/logic/slbt_exec_ctx.c b/src/logic/slbt_exec_ctx.c
index 23cae68..17c6cd8 100644
--- a/src/logic/slbt_exec_ctx.c
+++ b/src/logic/slbt_exec_ctx.c
@@ -357,6 +357,18 @@ int slbt_get_exec_ctx(
dctx->cctx->verinfo.revision,
dctx->cctx->settings.impsuffix);
ch++;
+
+ /* relfilename */
+ if (dctx->cctx->release) {
+ ictx->ctx.relfilename = ch;
+ ch += sprintf(ch,"%s%s%s-%s%s",
+ ictx->ctx.ldirname,
+ dsoprefix,
+ dctx->cctx->libname,
+ dctx->cctx->release,
+ dctx->cctx->settings.dsosuffix);
+ ch++;
+ }
}
/* linking: exefilename */