axel: Fix OpenSSL dependency

openssl is a virtual package, that can be provided by either libressl
or libopenssl, so there's no need to check for libressl separately.

Signed-off-by: Ismael Luceno <ismael@iodev.co.uk>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Ismael Luceno 2017-12-05 02:42:36 -03:00 committed by Thomas Petazzoni
parent 2c3d7cce2d
commit 13b06a4e52

View File

@ -17,10 +17,7 @@ AXEL_CONF_OPTS = \
ac_cv_prog_cc_c99=-std=c99 \
CFLAGS="$(TARGET_CFLAGS)"
ifeq ($(BR2_PACKAGE_LIBRESSL),y)
AXEL_CONF_OPTS += --with-ssl
AXEL_DEPENDENCIES += libressl
else ifeq ($(BR2_PACKAGE_OPENSSL),y)
ifeq ($(BR2_PACKAGE_OPENSSL),y)
AXEL_CONF_OPTS += --with-ssl
AXEL_DEPENDENCIES += openssl
else