mozjs-78: Set X lib/include paths

mozjs does not really use X but arcane autoconf 2.13 means its poking at
build host for X headers and libraries. On build hosts where X is
installed this results in wrong paths being searched for target X
headers, this gets caught by configure QA and it fails

ERROR: mozjs-78-78.15.0-r0 do_configure: QA Issue: This autoconf log indicates errors, it looked at host include and/or library paths while determining system capabilities.
Rerun configure task after fixing this. [configure-unsafe]
ERROR: mozjs-78-78.15.0-r0 do_configure: Fatal QA errors were found, failing task.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Khem Raj 2021-11-01 13:26:28 -07:00
parent e3ef25a2f5
commit a59370541d

View File

@ -41,13 +41,14 @@ EXTRA_OECONF = " \
--host=${BUILD_SYS} \
--prefix=${prefix} \
--libdir=${libdir} \
--x-includes=${STAGING_INCDIR} \
--x-libraries=${STAGING_LIBDIR} \
--without-system-icu \
--disable-tests --disable-strip --disable-optimize \
--disable-jemalloc \
${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', "--enable-gold", '--disable-gold', d)} \
${JIT} \
"
# Note: Python with mozilla build is a mess: E.g: python-six: to get an error
# free configure we need:
# * python3-six-native in DEPENDS