]> code.ossystems Code Review - openembedded-core.git/commitdiff
multilib_header: Do not install mutlilib headers for musl
authorKhem Raj <raj.khem@gmail.com>
Thu, 29 May 2014 07:01:03 +0000 (00:01 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 30 May 2014 15:31:22 +0000 (16:31 +0100)
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 <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/multilib_header.bbclass

index 4d049a82e6c95f9998025430ae531da2165e986f..5ee0a2d562dd8a355226524c5262e813a6b723b6 100644 (file)
@@ -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