nss: Undefine HAVE_SYS_CDEFS_H
nss's build system assumes that cdefs.h is always available on linux which is not the case with musl (From OE-Core rev: c4a5a8c4a6dbdcf735024aaee9e36a7a7b56cb96) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
92e6a7a873
commit
21550d10bf
|
@ -42,6 +42,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}
|
||||
|
|
Loading…
Reference in New Issue