summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2021-03-20 17:23:57 +0000
committermidipix <writeonce@midipix.org>2021-03-20 17:23:57 +0000
commitf23d994965845536db0e6b21fc9c65091184b3f5 (patch)
treeb8cb1014ec70ba83eecd13d1a865f9e0e31cd07d
parent9c11fae346f90bc43210e7530a72318303aeff06 (diff)
downloadslibtool-f23d994965845536db0e6b21fc9c65091184b3f5.tar.bz2
slibtool-f23d994965845536db0e6b21fc9c65091184b3f5.tar.xz
slbt_exec_link_create_library_symlink(): check for -version-info with -release.
-rw-r--r--src/logic/slbt_exec_link.c11
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,