From: Khem Raj Date: Thu, 29 May 2014 07:01:03 +0000 (-0700) Subject: multilib_header: Do not install mutlilib headers for musl X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~33533 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dad1c2746326912db41a3ff180679cdfe0e844f9;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git multilib_header: Do not install mutlilib headers for musl musl is not multilib and this creates trouble. eg. when util-linux probes for ncurses it does not find it because ncurses has installed the multilibbed header and this header includes bits/wordsize.h and this header does not exist on musl systems. If and when musl adds multilib support we will revisit it. Signed-off-by: Khem Raj Signed-off-by: Richard Purdie --- diff --git a/meta/classes/multilib_header.bbclass b/meta/classes/multilib_header.bbclass index 4d049a82e6c..5ee0a2d562d 100644 --- a/meta/classes/multilib_header.bbclass +++ b/meta/classes/multilib_header.bbclass @@ -6,6 +6,13 @@ inherit siteinfo # all of the ABI variants for that given architecture. # oe_multilib_header() { + + case ${HOST_OS} in + *-musl*) + return + ;; + *) + esac # We use # For ARM: We don't support multilib builds. # For MIPS: "n32" is a special case, which needs to be