lftp: switch from libidn to libidn2

libidn has been removed since 4.8.1 (August 2017):
731abec393

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 2018-05-01 22:40:36 +02:00 committed by Thomas Petazzoni
parent f48d3ff58b
commit aa406bb94b

View File

@ -41,11 +41,11 @@ else
LFTP_CONF_OPTS += --without-openssl
endif
ifeq ($(BR2_PACKAGE_LIBIDN),y)
LFTP_DEPENDENCIES += libidn
LFTP_CONF_OPTS += --with-libidn=$(STAGING_DIR)/usr
ifeq ($(BR2_PACKAGE_LIBIDN2),y)
LFTP_DEPENDENCIES += libidn2
LFTP_CONF_OPTS += --with-libidn2=$(STAGING_DIR)/usr
else
LFTP_CONF_OPTS += --without-libidn
LFTP_CONF_OPTS += --without-libidn2
endif
# Remove /usr/share/lftp