From: Aurélien Chabot Date: Mon, 13 Jul 2015 18:55:20 +0000 (+0200) Subject: avahi: fix systemd service file install path X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ea63dc42cdea4640fa427e838a7056248a1b0ce2;p=buildroot.git avahi: fix systemd service file install path [Thomas: fix indentation.] Signed-off-by: Aurélien Chabot Signed-off-by: Thomas Petazzoni --- 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