[1/1] package/lftp: fix build with host expat
diff mbox series

Message ID 20190814175238.14512-1-fontaine.fabrice@gmail.com
State Accepted
Headers show
Series
  • [1/1] package/lftp: fix build with host expat
Related show

Commit Message

Fabrice Fontaine Aug. 14, 2019, 5:52 p.m. UTC
Fixes:
 - https://bugs.buildroot.org/show_bug.cgi?id=11881

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 package/lftp/lftp.mk | 3 +++
 1 file changed, 3 insertions(+)

Patch
diff mbox series

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)