From f4dad2f978e3c5614bb164ae9ccb00bb12e9bded Mon Sep 17 00:00:00 2001 From: Mingli Yu Date: Wed, 27 Sep 2023 14:28:13 +0800 Subject: [PATCH] mozjs-102: Remove the buildpath Fixes: WARNING: mozjs-102-102.9.0-r0 do_package_qa: QA Issue: File /usr/src/debug/mozjs-102/102.9.0-r0/intl/components/Unified_cpp_intl_components4.cpp in package mozjs-102-src contains reference to TMPDIR File /usr/src/debug/mozjs-102/102.9.0-r0/intl/components/Unified_cpp_intl_components0.cpp in package mozjs-102-src contains reference to TMPDIR Signed-off-by: Mingli Yu Signed-off-by: Khem Raj --- meta-oe/recipes-extended/mozjs/mozjs-102_102.15.0.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta-oe/recipes-extended/mozjs/mozjs-102_102.15.0.bb b/meta-oe/recipes-extended/mozjs/mozjs-102_102.15.0.bb index 08cfededa7..15b90cb167 100644 --- a/meta-oe/recipes-extended/mozjs/mozjs-102_102.15.0.bb +++ b/meta-oe/recipes-extended/mozjs/mozjs-102_102.15.0.bb @@ -73,6 +73,8 @@ do_install:append() { sed -e 's@${STAGING_DIR_HOST}@@g' \ -i ${D}${bindir}/js102-config rm -f ${D}${libdir}/libjs_static.ajs + # remove the build path + sed -i -e 's@${WORKDIR}@@g' `find ${B} -name Unified_c*.c*` } PACKAGES =+ "lib${BPN}"