* [PATCH 1/1] apr: do not try to use sctp.h
@ 2014-04-18 22:38 Joe Slater
2014-04-19 0:56 ` Khem Raj
0 siblings, 1 reply; 2+ messages in thread
From: Joe Slater @ 2014-04-18 22:38 UTC (permalink / raw)
To: openembedded-core
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>
---
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH 1/1] apr: do not try to use sctp.h
2014-04-18 22:38 [PATCH 1/1] apr: do not try to use sctp.h Joe Slater
@ 2014-04-19 0:56 ` Khem Raj
0 siblings, 0 replies; 2+ messages in thread
From: Khem Raj @ 2014-04-19 0:56 UTC (permalink / raw)
To: Joe Slater; +Cc: Patches and discussions about the oe-core layer
On Fri, Apr 18, 2014 at 3:38 PM, Joe Slater <jslater@windriver.com> wrote:
> 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"
> +
Put it in single var above. Is there any way to make is cross compile
safe too instead of disabling the tests
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-04-19 0:57 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-18 22:38 [PATCH 1/1] apr: do not try to use sctp.h Joe Slater
2014-04-19 0:56 ` Khem Raj
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox