From 448f470d4a242a5d33c45d4ed308ca586fdc4c90 Mon Sep 17 00:00:00 2001 From: Ronnie Sahlberg Date: Tue, 24 Dec 2013 13:14:48 -0800 Subject: [PATCH] Set SOCURRENT/REVISION/AGE manually from Makefile.am --- Makefile.am | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/Makefile.am b/Makefile.am index 88bd8e9..e505a37 100644 --- a/Makefile.am +++ b/Makefile.am @@ -49,14 +49,11 @@ if !HAVE_LIBGCRYPT lib_libiscsi_la_SOURCES += lib/md5.c endif -SONAME=3 -version_split = $(subst ., ,$(VERSION)) -SOMAJOR = $(firstword $(version_split)) -SOMINOR = $(word 2, $(version_split)) -SOREVISION = $(word 3, $(version_split)) -SOREL = $(shell echo $(SOMINOR) + $(SOREVISION) | bc) +SOCURRENT=3 +SOREVISON=10 +SOAGE=0 lib_libiscsi_la_LDFLAGS = \ - -version-info $(SONAME):$(SOREL):0 -bindir $(bindir) -no-undefined \ + -version-info $(SOCURRENT):$(SOREVISON):$(SOAGE) -bindir $(bindir) -no-undefined \ -export-symbols $(srcdir)/lib/libiscsi.syms # libiscsi utilities