]> code.ossystems Code Review - openembedded-core.git/commitdiff
apr: do not try to use sctp.h
authorJoe Slater <jslater@windriver.com>
Fri, 18 Apr 2014 22:38:35 +0000 (15:38 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 24 Apr 2014 16:54:55 +0000 (17:54 +0100)
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@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-support/apr/apr_1.4.8.bb

index 7a130d1bdc3ce20a4e4c56519d9cdfc4b285cd2c..0a77ad786a0b10ff59737587d49d660ac7ce46fe 100644 (file)
@@ -26,6 +26,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