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>
(cherry picked from commit 78180b6c21638b41a5bab9ed706211304d5f2552)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
Khem Raj 2022-04-24 10:20:42 -07:00 committed by Armin Kuster
parent ecaa905714
commit 00b970a87a

View File

@ -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}