From be207535d8850b8f6d15b70b321af3ea78e0f2a3 Mon Sep 17 00:00:00 2001 From: Gabe Evans Date: Thu, 25 Feb 2016 21:55:14 +0000 Subject: [PATCH] package/systemd: add --enable/disable-zlib Signed-off-by: Gabe Evans Reviewed-by: Arnout Vandecappelle (Essensium/Mind) Signed-off-by: Thomas Petazzoni --- package/systemd/systemd.mk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/package/systemd/systemd.mk b/package/systemd/systemd.mk index 16c4d52ae9..91da61bbe1 100644 --- a/package/systemd/systemd.mk +++ b/package/systemd/systemd.mk @@ -101,6 +101,13 @@ else SYSTEMD_CONF_OPTS += --disable-xz endif +ifeq ($(BR2_PACKAGE_ZLIB),y) +SYSTEMD_DEPENDENCIES += zlib +SYSTEMD_CONF_OPTS += --enable-zlib +else +SYSTEMD_CONF_OPTS += --disable-zlib +endif + ifeq ($(BR2_PACKAGE_LIBGCRYPT),y) SYSTEMD_DEPENDENCIES += libgcrypt SYSTEMD_CONF_OPTS += \ -- 2.30.2