package/opensc: add zlib optional dependency

zlib is an optional dependency dependency (enabled by default) since the
addition of the package in commit
8aaa7ecbce

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
This commit is contained in:
Fabrice Fontaine 2024-04-07 21:56:24 +02:00 committed by Arnout Vandecappelle
parent 3b7f8f8d22
commit 05f5e5b6f8

View File

@ -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))