020-meson-fix-compilation-without-systemd.patch 631 B

12345678910111213141516171819202122
  1. From 38b15ca2dc4ca32bbe4a2449e1c7b645e4577840 Mon Sep 17 00:00:00 2001
  2. From: Rosen Penev <[email protected]>
  3. Date: Fri, 29 Apr 2022 16:53:43 -0700
  4. Subject: [PATCH 1/7] meson: fix compilation without systemd
  5. systemdsystemunitdir is used elsewhere.
  6. Signed-off-by: Rosen Penev <[email protected]>
  7. ---
  8. meson.build | 1 +
  9. 1 file changed, 1 insertion(+)
  10. --- a/meson.build
  11. +++ b/meson.build
  12. @@ -720,6 +720,7 @@ if fs_search_path_extra != ''
  13. endif
  14. conf.set_quoted('FS_SEARCH_PATH', fs_search_path)
  15. +systemdsystemunitdir = ''
  16. if systemd.found()
  17. systemdsystemunitdir = systemd.get_pkgconfig_variable('systemdsystemunitdir')
  18. endif