summaryrefslogtreecommitdiff
path: root/package/avahi/avahi.mk
diff options
context:
space:
mode:
authorAurélien Chabot <aurelien@chabot.fr>2015-07-13 20:55:20 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-07-13 23:18:34 +0200
commitea63dc42cdea4640fa427e838a7056248a1b0ce2 (patch)
tree014939070f035ab40f4a5a09dde3e9cabb357205 /package/avahi/avahi.mk
parent2bdbcb8ada7c48f4e9a19b57053ccda0043b6dea (diff)
avahi: fix systemd service file install path
[Thomas: fix indentation.] Signed-off-by: Aurélien Chabot <aurelien@chabot.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/avahi/avahi.mk')
-rw-r--r--package/avahi/avahi.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/package/avahi/avahi.mk b/package/avahi/avahi.mk
index 24967f4e4..9c6b609d2 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