diff mbox series

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

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

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(+)

Comments

Peter Korsgaard Sept. 2, 2019, 1:55 p.m. UTC | #1
>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> writes:

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

 > Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>

Committed to 2019.02.x and 2019.05.x, thanks.
diff mbox series

Patch

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)