From 86ad37b948b5dd1845ef7e0a3620a0e9c5820559 Mon Sep 17 00:00:00 2001 From: Mario Lang Date: Tue, 28 Nov 2017 13:10:12 +0100 Subject: [PATCH] package/lftp: Add optional support for libidn Signed-off-by: Mario Lang Signed-off-by: Thomas Petazzoni --- package/lftp/lftp.mk | 7 +++++++ 1 file changed, 7 insertions(+) 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 -- 2.30.2