Fixes:
- http://autobuild.buildroot.org/results/
fa5f8506866451f40eb5f548c1099ae931b26fcc
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
TOR_DEPENDENCIES += libcap
endif
+ifeq ($(BR2_PACKAGE_SYSTEMD),y)
+TOR_CONF_OPTS += --enable-systemd
+TOR_DEPENDENCIES += host-pkgconf systemd
+else
+TOR_CONF_OPTS += --disable-systemd
+endif
+
ifeq ($(BR2_PACKAGE_XZ),y)
TOR_CONF_OPTS += --enable-lzma
TOR_DEPENDENCIES += host-pkgconf xz