[vlfeat] 04/10: the DSO now has an SONAME
Dima Kogan
dima at secretsauce.net
Fri Oct 17 02:01:52 UTC 2014
This is an automated email from the git hooks/post-receive script.
dkogan-guest pushed a commit to branch patches
in repository vlfeat.
commit aa1378bb9a3441b77151ca1ba06d03ad8c19a60a
Author: Dima Kogan <dima at secretsauce.net>
Date: Sun Feb 2 01:52:12 2014 -0800
the DSO now has an SONAME
---
make/dll.mak | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/make/dll.mak b/make/dll.mak
index 4732b64..a34b2d6 100644
--- a/make/dll.mak
+++ b/make/dll.mak
@@ -24,6 +24,7 @@ info: dll-info
# build the DLL.
DLL_NAME = vl
+API_VERSION := 0
LINK_DLL_CFLAGS = \
$(if $(DISABLE_THREADS),-DVL_DISABLE_THREADS) \
@@ -48,7 +49,8 @@ DLL_LDFLAGS = \
$(STD_LDFLAGS) \
-lm \
$(if $(DISABLE_THREADS),,-lpthread) \
-$(if $(DISABLE_OPENMP),,-fopenmp)
+$(if $(DISABLE_OPENMP),,-fopenmp) \
+-Wl,-soname,lib$(DLL_NAME).so.$(API_VERSION)
BINDIR = bin/$(ARCH)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/vlfeat.git
More information about the debian-science-commits
mailing list