diff options
author | Fabrice Fontaine <fontaine.fabrice@gmail.com> | 2018-11-20 22:48:23 +0100 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@bootlin.com> | 2018-11-21 22:31:14 +0100 |
commit | 5f7db7d07458a9a5dae313c2b2002b91c24c53b2 (patch) | |
tree | f902fec6f3000a0e4da9e0262d945fc22c749f9c | |
parent | 73962d34498f8570a465a8fe5771c05daa4414d5 (diff) | |
download | buildroot-5f7db7d07458a9a5dae313c2b2002b91c24c53b2.tar.gz buildroot-5f7db7d07458a9a5dae313c2b2002b91c24c53b2.zip |
libostree: add systemd optional dependency
This option is available since v2018.3:
https://github.com/ostreedev/ostree/commit/17db0f15a79835b76ede6785120d237066c57d32
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>
-rw-r--r-- | package/libostree/libostree.mk | 9 |
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)) |