Skip to contentSkip to conversation

package/lftp: Add optional support for libidn

PATCH New Mario Lang 2 participants 2 messages Nov 28, 2017 – Nov 29, 2017

lore
Share & tools
lore

Mario Lang

author
#0 lore raw

PATCH 1/1 package/lftp: Add optional support for libidn

---
 package/lftp/lftp.mk | 7 +++++++
 1 file changed, 7 insertions(+)
package/lftp/lftp.mk +7 -0
index de4ebb8521..b174057f03 100644
@@ -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
Signature · 1 line
2.15.0
#1 lore raw

PATCH 1/1 package/lftp: Add optional support for libidn

Hello,

Quoted 4 lines · Mario Lang
---
 package/lftp/lftp.mk | 7 +++++++
 1 file changed, 7 insertions(+)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com