[OE-core] [PATCH 1/1] apr: do not try to use sctp.h

Joe Slater jslater at windriver.com
Fri Apr 18 22:38:35 UTC 2014


If we let configure look for sctp.h it might find it
on the host, so suppress the search with two cached
config variables.

Signed-off-by: Joe Slater <jslater at windriver.com>
---
 meta/recipes-support/apr/apr_1.4.8.bb |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/meta/recipes-support/apr/apr_1.4.8.bb b/meta/recipes-support/apr/apr_1.4.8.bb
index d834170..c14f64b 100644
--- a/meta/recipes-support/apr/apr_1.4.8.bb
+++ b/meta/recipes-support/apr/apr_1.4.8.bb
@@ -24,6 +24,10 @@ OE_BINCONFIG_EXTRA_MANGLE = " -e 's:location=source:location=installed:'"
 # Added to fix some issues with cmake. Refer to https://github.com/bmwcarit/meta-ros/issues/68#issuecomment-19896928
 CACHED_CONFIGUREVARS += "apr_cv_mutex_recursive=yes"
 
+# Also suppress trying to use sctp.
+#
+CACHED_CONFIGUREVARS += "ac_cv_header_netinet_sctp_h=no ac_cv_header_netinet_sctp_uio_h=no"
+
 do_configure_prepend() {
 	cd ${S}
 	./buildconf
-- 
1.7.9.5




More information about the Openembedded-core mailing list