[Buildroot] [PATCH 1/1] package/opensc: add zlib optional dependency

Arnout Vandecappelle arnout at mind.be
Wed Apr 10 19:42:20 UTC 2024



On 07/04/2024 21:56, Fabrice Fontaine wrote:
> 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>

  Applied to master, thanks.

  Regards,
  Arnout

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