[oe-commits] Khem Raj : multilib_header: Do not install mutlilib headers for musl

git at git.openembedded.org git at git.openembedded.org
Thu May 29 16:54:08 UTC 2014


Module: openembedded-core.git
Branch: master-next
Commit: a7819a387819065dfddb33c62fe3a9fbb85963b7
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=a7819a387819065dfddb33c62fe3a9fbb85963b7

Author: Khem Raj <raj.khem at gmail.com>
Date:   Thu May 29 00:01:03 2014 -0700

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 <raj.khem at gmail.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/classes/multilib_header.bbclass | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/meta/classes/multilib_header.bbclass b/meta/classes/multilib_header.bbclass
index 4d049a8..5ee0a2d 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



More information about the Openembedded-commits mailing list