]> xenbits.xensource.com Git - xen.git/commitdiff
tools/libfsimage: Fix SONAME
authorAndrew Cooper <andrew.cooper3@citrix.com>
Mon, 13 Dec 2021 17:50:48 +0000 (17:50 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Mon, 13 Dec 2021 18:37:36 +0000 (18:37 +0000)
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 <anthony.perard@citrix.com>
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Anthony PERARD <anthony.perard@citrix.com>
tools/libfsimage/common/Makefile

index 24bc90e73e719cda28be538e5e18e5745f1173ce..0c5a34baea30bd8e8e60a2abc31a524191664a40 100644 (file)
@@ -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