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 <[email protected]>
---
 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

-- 
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to