summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/libostree/libostree.mk9
1 files changed, 9 insertions, 0 deletions
diff --git a/package/libostree/libostree.mk b/package/libostree/libostree.mk
index 4c841dbe4d..8538cdc69c 100644
--- a/package/libostree/libostree.mk
+++ b/package/libostree/libostree.mk
@@ -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))
OpenPOWER on IntegriCloud