]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
meson: fix LIBBLKID_VERSION definition
authorKarel Zak <kzak@redhat.com>
Thu, 29 Feb 2024 10:09:11 +0000 (11:09 +0100)
committerKarel Zak <kzak@redhat.com>
Thu, 29 Feb 2024 10:10:47 +0000 (11:10 +0100)
Fixes: https://github.com/util-linux/util-linux/issues/2802
Signed-off-by: Karel Zak <kzak@redhat.com>
(cherry picked from commit 311ea4e73b8b35788e1bbc784350082e45e9d445)

meson.build

index 964c8d91264bc907c72a007d3c9ab544e407423c..ce85d91c6b4555257de3d330599b8f677d71d86b 100644 (file)
@@ -10,6 +10,8 @@ project('util-linux', 'c',
 fs = import('fs')
 pkgconfig = import('pkgconfig')
 
+# soname versions; This never change because we use symbols versioing. There is also
+# API version (LIB*_VERSION macros) and it follow package version.
 libblkid_version = '1.1.0'
 libblkid_date = '01-Jun-2021'
 libuuid_version = '1.3.0'
@@ -56,7 +58,7 @@ endif
 
 pc_version = '.'.join(pc_version)
 
-conf.set_quoted('LIBBLKID_VERSION', libblkid_version)
+conf.set_quoted('LIBBLKID_VERSION', pc_version)
 conf.set_quoted('LIBBLKID_DATE', libblkid_date)
 
 conf.set('bindir', bindir)