[Buildroot] [git commit] libostree: add systemd optional dependency
Thomas Petazzoni
thomas.petazzoni at bootlin.com
Wed Nov 21 21:31:14 UTC 2018
commit: https://git.buildroot.net/buildroot/commit/?id=5f7db7d07458a9a5dae313c2b2002b91c24c53b2
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
This option is available since v2018.3:
https://github.com/ostreedev/ostree/commit/17db0f15a79835b76ede6785120d237066c57d32
Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
Reviewed-by: Marcus Folkesson <marcus.folkesson at gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
---
package/libostree/libostree.mk | 9 +++++++++
1 file changed, 9 insertions(+)
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))
More information about the buildroot
mailing list