summaryrefslogtreecommitdiffstats
path: root/src/udev/meson.build
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2022-06-01 08:23:02 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2022-06-07 10:04:43 +0200
commit5fb225615bf751b97644bed7aae44f69ba03cc84 (patch)
tree803ef39853997e64e9e7dd56d73b607efed345bb /src/udev/meson.build
parentnetworkd: NetLabel integration (diff)
downloadsystemd-5fb225615bf751b97644bed7aae44f69ba03cc84.tar.xz
systemd-5fb225615bf751b97644bed7aae44f69ba03cc84.zip
meson: install libsystemd-shared into rootpkglibdir
Introduce rootpkglibdir for installing libsystemd-{shared,core}.so. The benefit over using rootlibexecdir is that this path can be multiarch aware, i.e. this path can be architecture qualified. This is something we'd like to make use of in Debian/Ubuntu to make libsystemd-shared co-installable, e.g. for i386 the path would be /usr/lib/i386-linux-gnu/systemd/libsystemd-shared-*.so and for amd64 /usr/lib/x86_64-linux-gnu/systemd/libsystemd-shared-*.so. This will allow for example to install and run systemd-boot/i386 on an amd64 host. It also simplifies/enables cross-building/bootstrapping. For more infos about Multi-Arch see https://wiki.debian.org/Multiarch. See also https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=990547
Diffstat (limited to '')
-rw-r--r--src/udev/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/udev/meson.build b/src/udev/meson.build
index 79964a7d8e..c6711beb5a 100644
--- a/src/udev/meson.build
+++ b/src/udev/meson.build
@@ -100,7 +100,7 @@ link_config_gperf_c = custom_target(
if get_option('link-udev-shared')
udev_link_with = [libshared]
- udev_rpath = rootlibexecdir
+ udev_rpath = rootpkglibdir
else
udev_link_with = [libshared_static,
libsystemd_static]