summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2016-10-28 00:11:58 -0700
committerJoe MacDonald <joe_macdonald@mentor.com>2016-11-14 10:07:27 -0500
commit06d15756bd6f77da57f527f08c9f2a3227acb3e9 (patch)
tree5b11c066922fa2ac2268b9dfb7e0ae009a68c735
parent6e9197700e95e04a2b318f93a62e3cf8df31eb74 (diff)
downloadmeta-openembedded-06d15756bd6f77da57f527f08c9f2a3227acb3e9.tar.gz
lftp: fix PACKAGECONFIG[readline]
The --with-readline means check readline automatically, and will cause build failures when there is /usr/include/readline: ERROR: This autoconf log indicates errors, it looked at host include and/or library paths while determining system capabilities. Use --with-readline=${STAGING_INCDIR}/.. to fix the problem. And also add --with-readline=no when PACKAGECONFIG is not set for readline. Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
-rw-r--r--meta-networking/recipes-connectivity/lftp/lftp_4.7.3.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-networking/recipes-connectivity/lftp/lftp_4.7.3.bb b/meta-networking/recipes-connectivity/lftp/lftp_4.7.3.bb
index e4a8e49cf..b0cd399fe 100644
--- a/meta-networking/recipes-connectivity/lftp/lftp_4.7.3.bb
+++ b/meta-networking/recipes-connectivity/lftp/lftp_4.7.3.bb
@@ -21,7 +21,7 @@ PACKAGECONFIG[libidn] = "--with-libidn, --without-libidn, libidn"
21PACKAGECONFIG[openssl] = "--with-openssl, --without-openssl, openssl" 21PACKAGECONFIG[openssl] = "--with-openssl, --without-openssl, openssl"
22PACKAGECONFIG[zlib] = "--with-zlib=${STAGING_INCDIR}/.., --without-zlib, zlib" 22PACKAGECONFIG[zlib] = "--with-zlib=${STAGING_INCDIR}/.., --without-zlib, zlib"
23PACKAGECONFIG[gnutls] = "--with-gnutls, --without-gnutls, gnutls" 23PACKAGECONFIG[gnutls] = "--with-gnutls, --without-gnutls, gnutls"
24PACKAGECONFIG[readline] = "--with-readline --with-readline-inc=${STAGING_INCDIR} --with-readline-lib=-lreadline, , readline" 24PACKAGECONFIG[readline] = "--with-readline=${STAGING_INCDIR}/.. --with-readline-inc=${STAGING_INCDIR} --with-readline-lib=-lreadline, --with-readline=no, readline"
25PACKAGECONFIG[expat] = "--with-expat=${STAGING_INCDIR}/.. --with-expat-inc=${STAGING_INCDIR} --with-expat-lib=-lexpat, , expat" 25PACKAGECONFIG[expat] = "--with-expat=${STAGING_INCDIR}/.. --with-expat-inc=${STAGING_INCDIR} --with-expat-lib=-lexpat, , expat"
26 26
27FILES_${PN}-dbg += "${libdir}/lftp/${PV}/.debug" 27FILES_${PN}-dbg += "${libdir}/lftp/${PV}/.debug"