[Buildroot] [git commit] package/sudo: add optional support for zlib
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Thu Dec 1 22:21:35 UTC 2016
commit: https://git.buildroot.net/buildroot/commit/?id=0bd23d2dc23add4db2c4321c3da096cc916fb999
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Signed-off-by: Bernd Kuhls <bernd.kuhls at t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
---
package/sudo/sudo.mk | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/package/sudo/sudo.mk b/package/sudo/sudo.mk
index f28312a..89859dd 100644
--- a/package/sudo/sudo.mk
+++ b/package/sudo/sudo.mk
@@ -30,6 +30,13 @@ else
SUDO_CONF_OPTS += --without-pam
endif
+ifeq ($(BR2_PACKAGE_ZLIB),y)
+SUDO_CONF_OPTS += --enable-zlib
+SUDO_DEPENDENCIES += zlib
+else
+SUDO_CONF_OPTS += --disable-zlib
+endif
+
# mksigname/mksiglist needs to run on build host to generate source files
define SUDO_BUILD_MKSIGNAME_MKSIGLIST_HOST
$(MAKE) $(HOST_CONFIGURE_OPTS) \
More information about the buildroot
mailing list