Ver Fonte

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>
Aurélien Chabot há 10 anos atrás
pai
commit
ea63dc42cd
1 ficheiros alterados com 4 adições e 1 exclusões
  1. 4 1
      package/avahi/avahi.mk

+ 4 - 1
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