From d8011a09f741cde3e1c48edb637b91f31129a04b Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Wed, 14 Aug 2019 19:52:38 +0200 Subject: [PATCH] package/lftp: fix build with host expat Fixes: - https://bugs.buildroot.org/show_bug.cgi?id=11881 Signed-off-by: Fabrice Fontaine Signed-off-by: Thomas Petazzoni --- package/lftp/lftp.mk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package/lftp/lftp.mk b/package/lftp/lftp.mk index 93a0bf5c32..b8a2b24302 100644 --- a/package/lftp/lftp.mk +++ b/package/lftp/lftp.mk @@ -25,6 +25,9 @@ endif ifeq ($(BR2_PACKAGE_EXPAT)$(BR2_PACKAGE_LFTP_PROTO_HTTP),yy) LFTP_DEPENDENCIES += expat +LFTP_CONF_OPTS += --with-expat=$(STAGING_DIR)/usr +else +LFTP_CONF_OPTS += --without-expat endif ifeq ($(BR2_PACKAGE_GNUTLS),y)