diff options
author | Eli Schwartz <eschwartz@archlinux.org> | 2019-09-19 05:46:58 +0200 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2019-10-07 06:09:21 +0200 |
commit | facd9533b002194e58cc47672ce7e23d40968e96 (patch) | |
tree | 1078d32073c74106a106bd9fec3b2a90e9735ac1 | |
parent | c0da1ba13a22f099936f60a0d2a752c9ab739ae0 (diff) | |
download | pacman-facd9533b002194e58cc47672ce7e23d40968e96.tar.gz pacman-facd9533b002194e58cc47672ce7e23d40968e96.tar.xz |
meson: fix incorrect libalpm version
LIB_VERSION is supposed to be something like 11.0.1, not simply
reiterate the project version. As a result, we ended up with this:
$ pacman -V
[...]
Pacman v5.1.0 - libalpm v5.1.0
[...]
Signed-off-by: Eli Schwartz <eschwartz@archlinux.org>
Signed-off-by: Allan McRae <allan@archlinux.org>
-rw-r--r-- | meson.build | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meson.build b/meson.build index 8a0f43fa..f0f708d8 100644 --- a/meson.build +++ b/meson.build @@ -69,7 +69,7 @@ conf.set_quoted('PACKAGE_VERSION', PACKAGE_VERSION) conf.set_quoted('LOCALEDIR', LOCALEDIR) conf.set_quoted('SCRIPTLET_SHELL', get_option('scriptlet-shell')) conf.set_quoted('LDCONFIG', LDCONFIG) -conf.set_quoted('LIB_VERSION', meson.project_version()) +conf.set_quoted('LIB_VERSION', libalpm_version) conf.set_quoted('SYSHOOKDIR', join_paths(DATAROOTDIR, 'libalpm/hooks/')) conf.set_quoted('CONFFILE', join_paths(SYSCONFDIR, 'pacman.conf')) conf.set_quoted('DBPATH', join_paths(LOCALSTATEDIR, 'lib/pacman/')) |