From 7417a6fcf5442c514225067b43d62da113aa8964 Mon Sep 17 00:00:00 2001 From: Sitsofe Wheeler Date: Wed, 18 Sep 2013 17:02:56 +0100 Subject: [PATCH] Fix Makefile.am breakage. Complete the changes made in commit 7692027. --- Makefile.am | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile.am b/Makefile.am index 18a3f63..296d546 100644 --- a/Makefile.am +++ b/Makefile.am @@ -43,12 +43,13 @@ 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)) +SOREL = $(shell echo $(SOMINOR) + $(SOREVISION) | bc) lib_libiscsi_la_LDFLAGS = \ - -version-info $(SONAME):$(SOMAJOR):$(SOREL) -bindir $(bindir) -no-undefined \ + -version-info $(SONAME):$(SOREL):0 -bindir $(bindir) -no-undefined \ -export-symbols $(srcdir)/lib/libiscsi.syms # libiscsi utilities