diff options
author | midipix <writeonce@midipix.org> | 2016-04-24 09:14:59 -0400 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-04-24 10:31:23 -0400 |
commit | 112a2bc026f48bf9453c2bb8766f730e8c0d1bc9 (patch) | |
tree | ac307b883e62fd368f0a3e9e0128a01e55479cda /src/logic/slbt_exec_ctx.c | |
parent | 1f87fd5f1cddc5ad065a3f85b5fd5d09d709dca1 (diff) | |
download | slibtool-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.c | 12 |
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 */ |