package/qpdf: add optional gnutls dependency

gnutls is an optional dependency since version 9.1.0 and
88bedb41fe

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Fabrice Fontaine 2019-12-22 11:49:29 +01:00 committed by Thomas Petazzoni
parent 004848dae7
commit 958fa56ebf

View file

@ -13,4 +13,11 @@ QPDF_DEPENDENCIES = host-pkgconf zlib jpeg
QPDF_CONF_OPTS = --without-random QPDF_CONF_OPTS = --without-random
ifeq ($(BR2_PACKAGE_GNUTLS),y)
QPDF_CONF_OPTS += --enable-crypto-gnutls
QPDF_DEPENDENCIES += gnutls
else
QPDF_CONF_OPTS += --disable-crypto-gnutls
endif
$(eval $(autotools-package)) $(eval $(autotools-package))