From 561d6fd4783632d4cc77023fb3b84660311068a4 Mon Sep 17 00:00:00 2001 From: Simon Arlott Date: Sat, 27 May 2023 20:58:00 +0100 Subject: [PATCH] meson: Use correct prefix for systemd_system_unit_dir systemd uses "rootprefix", not "prefix" for this value https://github.com/systemd/systemd/blob/059b1b31ade7f1d716f56c5e6fd657ce22ce2032/src/core/systemd.pc.in#L23 --- systemd/system/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/systemd/system/meson.build b/systemd/system/meson.build index 632ff420e..c6d676b7c 100644 --- a/systemd/system/meson.build +++ b/systemd/system/meson.build @@ -4,7 +4,7 @@ if systemd_system_unit_dir == '' if systemd.found() systemd_system_unit_dir = systemd.get_variable( pkgconfig: 'systemdsystemunitdir', - pkgconfig_define: ['prefix', get_option('prefix')], + pkgconfig_define: ['rootprefix', get_option('prefix')], ) endif endif