summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/logic/slbt_exec_ctx.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/logic/slbt_exec_ctx.c b/src/logic/slbt_exec_ctx.c
index d10d880..7b5267a 100644
--- a/src/logic/slbt_exec_ctx.c
+++ b/src/logic/slbt_exec_ctx.c
@@ -372,10 +372,12 @@ int slbt_get_exec_ctx(
/* deffilename */
ictx->ctx.deffilename = ch;
- ch += sprintf(ch,"%s%s%s%s.def",
+ ch += sprintf(ch,"%s%s%s%s%s%s.def",
ictx->ctx.ldirname,
dsoprefix,
dctx->cctx->libname,
+ dctx->cctx->release ? "-" : "",
+ dctx->cctx->release ? dctx->cctx->release : "",
dctx->cctx->settings.dsosuffix);
ch++;