From d828caa9aeee80c59a35f662f875f6573e9b532f Mon Sep 17 00:00:00 2001 From: Andrew Cooper Date: Mon, 13 Dec 2021 17:50:48 +0000 Subject: [PATCH] tools/libfsimage: Fix SONAME This gets missed on each release. Follow the same example as libs.mk and pick the version up dynamically. Fixes: a5706b80f42e ("Set version to 4.17: rerun autogen.sh") Suggested-by: Anthony PERARD Signed-off-by: Andrew Cooper Acked-by: Anthony PERARD --- tools/libfsimage/common/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/libfsimage/common/Makefile b/tools/libfsimage/common/Makefile index 24bc90e73e..0c5a34baea 100644 --- a/tools/libfsimage/common/Makefile +++ b/tools/libfsimage/common/Makefile @@ -1,7 +1,7 @@ XEN_ROOT = $(CURDIR)/../../.. include $(XEN_ROOT)/tools/libfsimage/Rules.mk -MAJOR = 4.16 +MAJOR := $(shell $(XEN_ROOT)/version.sh $(XEN_ROOT)/xen/Makefile) MINOR = 0 LDFLAGS-$(CONFIG_SunOS) = -Wl,-M -Wl,mapfile-SunOS -- 2.30.2