summaryrefslogtreecommitdiff
path: root/make
diff options
context:
space:
mode:
authorAaron M. Ucko <ucko@debian.org>2019-07-29 21:55:08 -0400
committerAaron M. Ucko <ucko@debian.org>2019-07-29 22:11:15 -0400
commitbd6ad3ab1951cf1f40ef8f4493ee9e5fc36b4c4a (patch)
tree8770e8320ceee4697004da49b8b9c6f4662e291a /make
parent6729ff2ec9e9c84fb5ac9623145d7bf086c067b5 (diff)
Omit +dfsg1 suffix from library SONAMEs.
* debian/rules: Introduce NCBI_VERSION_SHLIB, with +dfsg1 stripped off. * make/makeshlb.unx: NCBI_VERSION -> NCBI_VERSION_SHLIB.
Diffstat (limited to 'make')
-rw-r--r--make/makeshlb.unx2
1 files changed, 1 insertions, 1 deletions
diff --git a/make/makeshlb.unx b/make/makeshlb.unx
index b4bc4ca3..98a6a700 100644
--- a/make/makeshlb.unx
+++ b/make/makeshlb.unx
@@ -20,7 +20,7 @@ SH2 = `lorder *.o | tsort` $(NCBI_OTHERLIBS)
$(SH1) $@ $(SH2)
rm -f *.o __*
-so=so.$(NCBI_VERSION_MAJOR).$(NCBI_VERSION_MINOR)
+so=so.$(NCBI_VERSION_SHLIB)
%.$(so): %.a
$(CC) -shared -Wl,-soname=$*.so.$(NCBI_VERSION_MAJOR) -o $@ \