]> git.ipfire.org Git - thirdparty/systemd.git/commit - meson_options.txt
meson: allow specifying a custom "tag" for the private shared libaries
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 14 Dec 2021 17:03:06 +0000 (18:03 +0100)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Sat, 25 Dec 2021 06:18:50 +0000 (15:18 +0900)
commita2b0cd3f5ab3f450e74e2085ad20372a05451c74
treef6e693e1f2e21a5d3d830eb7b67735212528eff7
parent4287c855893b6a2666fbe0422a1e738c47fa3ef5
meson: allow specifying a custom "tag" for the private shared libaries

We have /usr/lib/systemd/libsystemd-{shared,core}-nnn.so. With this
path the 'nnn' part can be changed to something different. The idea
is that during a package build this will be set to the package version.

This way during in-place upgrades with the same major version both
the new and old libraries can cooexit. This should fix the issue
when systemd programs are called during package upgrades and fail
to exec because the expect different symbols in the library they
are linked to.

This should fix https://bugzilla.redhat.com/show_bug.cgi?id=1906010.
meson.build
meson_options.txt
src/core/meson.build
src/shared/meson.build