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.

(From OE-Core rev: 4aa6616661cc7a0eda4e9ba3e82a22472b444595)

Signed-off-by: Joe Slater <jslater@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Joe Slater 2014-04-18 15:38:35 -07:00 committed by Richard Purdie
parent e45da211a7
commit 66856e1211
1 changed files with 4 additions and 0 deletions

View 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