package/cups: add openssl optional dependency

openssl is an optional dependency since bump to version 2.4.2 in commit
433fd541ea and
3e9f2c04d6

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit f2c76fbbfc)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Fabrice Fontaine 2024-01-05 14:11:16 +01:00 committed by Peter Korsgaard
parent 14c3a7d8cd
commit cbc2ba71f1

View File

@ -54,8 +54,11 @@ CUPS_CONF_OPTS += --disable-dbus
endif
ifeq ($(BR2_PACKAGE_GNUTLS),y)
CUPS_CONF_OPTS += --with-tls=yes
CUPS_CONF_OPTS += --with-tls=gnutls
CUPS_DEPENDENCIES += gnutls
else ifeq ($(BR2_PACKAGE_OPENSSL),y)
CUPS_CONF_OPTS += --with-tls=openssl
CUPS_DEPENDENCIES += openssl
else
CUPS_CONF_OPTS += --with-tls=no
endif