Skip to contentSkip to conversation

mozjs: improve reproducibility

PATCH Yu, Mingli 1 participant 1 message Feb 4, 2021 1 message not in the archive

lore
Share & tools
lore

Yu, Mingli

author
#1 lore raw
In reply to a message not in the archive

Ping.

Thanks,

Quoted 27 lines · Mingli

From: Mingli Yu <[email protected]>

Remove the build path from the file js60-config.

---
  .../meta-python/recipes-extended/mozjs/mozjs_60.9.0.bb          | 2 ++
  1 file changed, 2 insertions(+)
meta-oe/dynamic-layers/meta-python/recipes-extended/mozjs/mozjs_60.9.0.bb +2 -0
index 130ff13ec..614cdf6e3 100644
@@ -125,6 +125,8 @@ MULTILIB_SCRIPTS += " ${PN}-dev:${bindir}/js60-config"
 
  do_install_append() {
         oe_multilib_header mozjs-60/js-config.h
+       sed -e 's@${STAGING_DIR_HOST}@@g' \
+           -i ${D}${bindir}/js60-config
  }
 
  PACKAGES =+ "lib${BPN}"