diff options
author | midipix <writeonce@midipix.org> | 2021-03-20 17:23:57 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2021-03-20 17:23:57 +0000 |
commit | f23d994965845536db0e6b21fc9c65091184b3f5 (patch) | |
tree | b8cb1014ec70ba83eecd13d1a865f9e0e31cd07d /src/logic | |
parent | 9c11fae346f90bc43210e7530a72318303aeff06 (diff) | |
download | slibtool-f23d994965845536db0e6b21fc9c65091184b3f5.tar.bz2 slibtool-f23d994965845536db0e6b21fc9c65091184b3f5.tar.xz |
slbt_exec_link_create_library_symlink(): check for -version-info with -release.
Diffstat (limited to 'src/logic')
-rw-r--r-- | src/logic/slbt_exec_link.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/logic/slbt_exec_link.c b/src/logic/slbt_exec_link.c index 5e42861..bab2ad2 100644 --- a/src/logic/slbt_exec_link.c +++ b/src/logic/slbt_exec_link.c @@ -1654,11 +1654,12 @@ static int slbt_exec_link_create_library_symlink( strcpy(target,ectx->relfilename); sprintf(lnkname,"%s.release",ectx->dsofilename); - if (slbt_create_symlink( - dctx,ectx, - target,lnkname, - false)) - return SLBT_NESTED_ERROR(dctx); + if (!dctx->cctx->verinfo.verinfo) + if (slbt_create_symlink( + dctx,ectx, + target,lnkname, + false)) + return SLBT_NESTED_ERROR(dctx); } else { sprintf(target,"%s%s.%d.%d.%d%s", ectx->dsobasename, |