vp-build/srcpkgs/pipewire/patches/fix-building-when-systemd-is-false.patch
2018-11-22 18:51:19 -02:00

27 lines
694 B
Diff

From 9c4d1422f29367be6fa21da2cb027ebe85466939 Mon Sep 17 00:00:00 2001
From: maxice8 <thinkabit.ukim@gmail.com>
Date: Thu, 22 Nov 2018 17:36:59 -0200
Subject: [PATCH] meson: Fix configure when systemd option is set to false
Otherwise it fails with systemd variable not found.
---
src/daemon/meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/daemon/meson.build b/src/daemon/meson.build
index fb694e7c..f2a327fb 100644
--- src/daemon/meson.build
+++ src/daemon/meson.build
@@ -29,6 +29,6 @@ executable('pipewire',
dependencies : [pipewire_dep],
)
-if systemd.found()
+if get_option('systemd') and systemd.found()
subdir('systemd')
endif
--
2.19.2