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>
2020.02.x
Fabrice Fontaine 2019-12-22 11:49:29 +01:00 committed by Thomas Petazzoni
parent 004848dae7
commit 958fa56ebf
1 changed files with 7 additions and 0 deletions

View File

@ -13,4 +13,11 @@ QPDF_DEPENDENCIES = host-pkgconf zlib jpeg
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))