summaryrefslogtreecommitdiffhomepage
path: root/src/logic/slbt_exec_ctx.c
diff options
context:
space:
mode:
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 */