summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Slater <jslater@windriver.com>2014-04-18 15:38:35 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-04-24 17:54:55 +0100
commit4aa6616661cc7a0eda4e9ba3e82a22472b444595 (patch)
tree57bafb38f1f5b1ba0cd20fd419034f635525d926
parent5ffb38d6ace7faae839c8cac7327b5b1c2daae1a (diff)
downloadopenembedded-core-4aa6616661cc7a0eda4e9ba3e82a22472b444595.tar.gz
openembedded-core-4aa6616661cc7a0eda4e9ba3e82a22472b444595.tar.bz2
openembedded-core-4aa6616661cc7a0eda4e9ba3e82a22472b444595.zip
apr: do not try to use sctp.h
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>
-rw-r--r--meta/recipes-support/apr/apr_1.4.8.bb4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/recipes-support/apr/apr_1.4.8.bb b/meta/recipes-support/apr/apr_1.4.8.bb
index 7a130d1bdc..0a77ad786a 100644
--- a/meta/recipes-support/apr/apr_1.4.8.bb
+++ b/meta/recipes-support/apr/apr_1.4.8.bb
@@ -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