libostree: add systemd optional dependency

This option is available since v2018.3:
17db0f15a7

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Reviewed-by: Marcus Folkesson <marcus.folkesson@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Fabrice Fontaine 2018-11-20 22:48:23 +01:00 committed by Thomas Petazzoni
parent 73962d3449
commit 5f7db7d074

View File

@ -68,4 +68,13 @@ else
LIBOSTREE_CONF_OPTS += --without-selinux
endif
ifeq ($(BR2_INIT_SYSTEMD),y)
LIBOSTREE_CONF_OPTS += \
--with-libsystemd \
--with-systemdsystemunitdir=/usr/lib/systemd/system
LIBOSTREE_DEPENDENCIES += systemd
else
LIBOSTREE_CONF_OPTS += --without-libsystemd
endif
$(eval $(autotools-package))