[OE-core] [PATCH 3/7] multilib_header: Do not install mutlilib headers for musl

Khem Raj raj.khem at gmail.com
Thu May 29 07:01:03 UTC 2014


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>
---
 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
-- 
1.9.3




More information about the Openembedded-core mailing list