mozjs: Use vendored icu on ppc/clang

This helps compile gjs, external icu is needed with gcc-12 but not with
clang

Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Khem Raj
2022-04-24 10:20:42 -07:00
parent 6a52b84dbc
commit 78180b6c21
@@ -24,6 +24,7 @@ inherit pkgconfig perlnative python3native rust
DEPENDS += "zlib cargo-native python3 icu"
DEPENDS:remove:mipsarch = "icu"
DEPENDS:remove:powerpc:toolchain-clang = "icu"
B = "${WORKDIR}/build"
@@ -43,6 +44,7 @@ JIT ?= ""
JIT:mipsarch = "--disable-jit"
ICU ?= "--with-system-icu"
ICU:mipsarch = ""
ICU:powerpc:toolchain-clang = ""
do_configure() {
cd ${B}