Message ID | 20240407195624.3362430-1-fontaine.fabrice@gmail.com |
---|---|
State | Accepted |
Headers | show |
Series | [1/1] package/opensc: add zlib optional dependency | expand |
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@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))
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))
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@gmail.com> --- package/opensc/opensc.mk | 7 +++++++ 1 file changed, 7 insertions(+)