[Buildroot] [git commit branch/2019.02.x] package/lftp: fix build with host expat

Peter Korsgaard peter at korsgaard.com
Mon Sep 2 13:54:58 UTC 2019


commit: https://git.buildroot.net/buildroot/commit/?id=d937fe91199f5a815fbf22b75758d7b6e2d759fe
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2019.02.x

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
(cherry picked from commit d8011a09f741cde3e1c48edb637b91f31129a04b)
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
 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)


More information about the buildroot mailing list