From 4d266550af0eb1b0b00cd3558ca6ce857f4a6f4a Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Sun, 7 Apr 2024 21:56:24 +0200 Subject: [PATCH] package/opensc: add zlib optional dependency zlib is an optional dependency dependency (enabled by default) since the addition of the package in commit 8aaa7ecbce1d10cbcd880c3da5e429988f96176a Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (cherry picked from commit 05f5e5b6f8e8363043b6136e9d622023ccf9eb52) Signed-off-by: Peter Korsgaard --- package/opensc/opensc.mk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/package/opensc/opensc.mk b/package/opensc/opensc.mk index f4dc2206ea..008de9d4c2 100644 --- a/package/opensc/opensc.mk +++ b/package/opensc/opensc.mk @@ -20,4 +20,11 @@ else OPENSC_CONF_OPTS += --disable-openssl endif +ifeq ($(BR2_PACKAGE_ZLIB),y) +OPENSC_DEPENDENCIES += zlib +OPENSC_CONF_OPTS += --enable-zlib +else +OPENSC_CONF_OPTS += --disable-zlib +endif + $(eval $(autotools-package))