apr: do not try to use sctp.h
PATCH 1/1 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 <[email protected]>
--- meta/recipes-support/apr/apr_1.4.8.bb | 4 ++++ 1 file changed, 4 insertions(+)
meta/recipes-support/apr/apr_1.4.8.bb +4 -0
@@ -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
Signature · 1 line
1.7.9.5
meta/recipes-support/apr/apr_1.4.8.bb OE_BINCONFIG_EXTRA_MANGLE = " -e 's:location=source:location=installed:'" · line 30
Quoted 6 lines · Joe Slater
CACHED_CONFIGUREVARS+= "apr_cv_mutex_recursive=yes"meta/recipes-support/apr/apr_1.4.8.bb +4
-0+# Also suppress trying to use sctp. +# +CACHED_CONFIGUREVARS += "ac_cv_header_netinet_sctp_h=no ac_cv_header_netinet_sctp_uio_h=no" +
Put it in single var above. Is there any way to make is cross compile safe too instead of disabling the tests