[Buildroot] [git commit] package/opensc: add zlib optional dependency
Arnout Vandecappelle
arnout at mind.be
Wed Apr 10 19:35:49 UTC 2024
commit: https://git.buildroot.net/buildroot/commit/?id=05f5e5b6f8e8363043b6136e9d622023ccf9eb52
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
zlib is an optional dependency dependency (enabled by default) since the
addition of the package in commit
8aaa7ecbce1d10cbcd880c3da5e429988f96176a
Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
Signed-off-by: Arnout Vandecappelle <arnout at mind.be>
---
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))
More information about the buildroot
mailing list