From ea63dc42cdea4640fa427e838a7056248a1b0ce2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Chabot?= Date: Mon, 13 Jul 2015 20:55:20 +0200 Subject: [PATCH] avahi: fix systemd service file install path MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [Thomas: fix indentation.] Signed-off-by: Aurélien Chabot Signed-off-by: Thomas Petazzoni --- package/avahi/avahi.mk | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/package/avahi/avahi.mk b/package/avahi/avahi.mk index 24967f4e49..9c6b609d24 100644 --- a/package/avahi/avahi.mk +++ b/package/avahi/avahi.mk @@ -90,7 +90,10 @@ AVAHI_DEPENDENCIES = \ AVAHI_CFLAGS = $(TARGET_CFLAGS) -ifeq ($(BR2_PACKAGE_SYSTEMD),) +ifeq ($(BR2_PACKAGE_SYSTEMD),y) +AVAHI_CONF_OPTS += --with-systemdsystemunitdir=/usr/lib/systemd/system +else +AVAHI_CONF_OPTS += --with-systemdsystemunitdir=no AVAHI_CFLAGS += -DDISABLE_SYSTEMD endif