Skip to contentSkip to conversation

package/lftp: fix build with host expat

PATCH New Fabrice Fontaine 2 participants 2 messages Aug 14, 2019 – Sep 2, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/lftp: fix build with host expat

Fixes:
- https://bugs.buildroot.org/show_bug.cgi?id=11881

---
 package/lftp/lftp.mk | 3 +++
 1 file changed, 3 insertions(+)
package/lftp/lftp.mk +3 -0
index 93a0bf5c32..b8a2b24302 100644
@@ -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)
Signature · 1 line
2.20.1