I think this should do it:

diff --git a/src/core/service.c b/src/core/service.c
index db1f1e7..bcdce33 100644
--- a/src/core/service.c
+++ b/src/core/service.c
@@ -561,10 +561,12 @@ static int service_add_extras(Service *s) {
                 if (r < 0)
                         return r;

+#ifdef ENABLE_KDBUS
                 n = strjoina(s->bus_name, ".busname");
                 r = unit_add_dependency_by_name(UNIT(s), UNIT_AFTER,
n, NULL, true);
                 if (r < 0)
                         return r;
+#endif
         }

         if (UNIT(s)->default_dependencies) {



-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to