[OE-core] [PATCH 2/6] libcheck: fix the multilib header conflict

Richard Purdie richard.purdie at linuxfoundation.org
Fri Aug 10 09:01:10 UTC 2018


On Fri, 2018-08-10 at 00:31 -0700, Zhixiong Chi wrote:
> Signed-off-by: Zhixiong Chi <zhixiong.chi at windriver.com>
> ---
>  meta/recipes-support/libcheck/libcheck_0.12.0.bb | 6 +++++-
>  1 file changed, 5 insertions(+), 1 deletion(-)
> 
> diff --git a/meta/recipes-support/libcheck/libcheck_0.12.0.bb
> b/meta/recipes-support/libcheck/libcheck_0.12.0.bb
> index e646d43968..cb97201580 100644
> --- a/meta/recipes-support/libcheck/libcheck_0.12.0.bb
> +++ b/meta/recipes-support/libcheck/libcheck_0.12.0.bb
> @@ -12,7 +12,7 @@ UPSTREAM_CHECK_URI = "https://github.com/libcheck/c
> heck/releases/"
>  
>  S = "${WORKDIR}/check-${PV}"
>  
> -inherit autotools pkgconfig texinfo
> +inherit autotools pkgconfig texinfo multilib_header
>  
>  CACHED_CONFIGUREVARS += "ac_cv_path_AWK_PATH=${bindir}/gawk"
>  
> @@ -20,4 +20,8 @@ RREPLACES_${PN} = "check (<= 0.9.5)"
>  RDEPENDS_${PN} += "gawk"
>  RDEPENDS_${PN}_class-native = ""
>  
> +do_install_append() {
> +        oe_multilib_header check_stdint.h
> +}
> +
>  BBCLASSEXTEND = "native nativesdk"

I'd like to understand the difference between the different headers, do
you have an example diff? 

Is there no way we can make them the same for the different multilibs?
oe_multilib_header should only be used when there is no other way...

The same applies to your other patches, an example of the differences
in the headers would be useful for review please.

Cheers,

Richard






More information about the Openembedded-core mailing list