[vlfeat] 03/06: the DSO now has an SONAME

Dima Kogan dkogan-guest at alioth.debian.org
Fri Nov 8 02:51:48 UTC 2013


This is an automated email from the git hooks/post-receive script.

dkogan-guest pushed a commit to branch patch-queue/master
in repository vlfeat.

commit dedc1aee080aaf010ff8f0e987f247de22766186
Author: Dima Kogan <dima at secretsauce.net>
Date:   Wed Nov 6 22:44:35 2013 -0800

    the DSO now has an SONAME
---
 make/dll.mak |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/make/dll.mak b/make/dll.mak
index 032b386..c6cffea 100644
--- a/make/dll.mak
+++ b/make/dll.mak
@@ -19,6 +19,7 @@ info: dll-info
 # --------------------------------------------------------------------
 
 DLL_NAME = vl
+API_VERSION := 0
 
 DLL_CFLAGS  = $(STD_CFLAGS)
 DLL_CFLAGS += -fvisibility=hidden -fPIC -DVL_BUILD_DLL -pthread
@@ -115,6 +116,7 @@ $(BINDIR)/lib$(DLL_NAME).so : $(dll_obj)
 	    $(^)                \
 	    $(DLL_LDFLAGS)	\
 	    $(if $(DISABLE_OPENMP),,-fopenmp) \
+	    -Wl,-soname,lib$(DLL_NAME).so.$(API_VERSION) \
 	    -o $(@)
 
 dll-clean:

-- 
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