nss's build system assumes that cdefs.h is always available on linux which is not the case with musl
Signed-off-by: Khem Raj <raj.k...@gmail.com> --- meta/recipes-support/nss/nss_3.19.2.bb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/meta/recipes-support/nss/nss_3.19.2.bb b/meta/recipes-support/nss/nss_3.19.2.bb index c51b056..d092b18 100644 --- a/meta/recipes-support/nss/nss_3.19.2.bb +++ b/meta/recipes-support/nss/nss_3.19.2.bb @@ -41,6 +41,10 @@ TDS = "${S}/tentative-dist-staging" TARGET_CC_ARCH += "${LDFLAGS}" +do_configure_prepend_libc-musl () { + sed -i -e '/-DHAVE_SYS_CDEFS_H/d' ${S}/nss/lib/dbm/config/config.mk +} + do_compile_prepend_class-native() { export NSPR_INCLUDE_DIR=${STAGING_INCDIR_NATIVE} export NSPR_LIB_DIR=${STAGING_LIBDIR_NATIVE} -- 2.7.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core