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:
parent
004848dae7
commit
958fa56ebf
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user