From: Mario Lang Date: Tue, 28 Nov 2017 12:10:12 +0000 (+0100) Subject: package/lftp: Add optional support for libidn X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=86ad37b948b5dd1845ef7e0a3620a0e9c5820559;p=buildroot.git package/lftp: Add optional support for libidn Signed-off-by: Mario Lang Signed-off-by: Thomas Petazzoni --- diff --git a/package/lftp/lftp.mk b/package/lftp/lftp.mk index de4ebb8521..b174057f03 100644 --- a/package/lftp/lftp.mk +++ b/package/lftp/lftp.mk @@ -41,6 +41,13 @@ else LFTP_CONF_OPTS += --without-openssl endif +ifeq ($(BR2_PACKAGE_LIBIDN),y) +LFTP_DEPENDENCIES += libidn +LFTP_CONF_OPTS += --with-libidn=$(STAGING_DIR)/usr +else +LFTP_CONF_OPTS += --without-libidn +endif + # Remove /usr/share/lftp define LFTP_REMOVE_DATA $(RM) -fr $(TARGET_DIR)/usr/share/lftp