aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabrice Fontaine <fontaine.fabrice@gmail.com>2019-08-14 19:52:38 +0200
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>2019-08-15 15:16:45 +0200
commitd8011a09f741cde3e1c48edb637b91f31129a04b (patch)
tree59c3535adb02ceb4e80e8026812901b57cd32b6a
parentbd8a37a681cb5190f5af0ed1c20f556bf5661345 (diff)
downloadbuildroot-d8011a09f741cde3e1c48edb637b91f31129a04b.tar.bz2
package/lftp: fix build with host expat
Fixes: - https://bugs.buildroot.org/show_bug.cgi?id=11881 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
-rw-r--r--package/lftp/lftp.mk3
1 files changed, 3 insertions, 0 deletions
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)