summaryrefslogtreecommitdiffstats
path: root/meta-oe/dynamic-layers/meta-python/recipes-extended/mozjs/mozjs_60.9.0.bb
diff options
context:
space:
mode:
authorChangqing Li <changqing.li@windriver.com>2020-08-14 14:15:57 +0800
committerKhem Raj <raj.khem@gmail.com>2020-08-14 06:51:01 -0700
commite7bf8b6cb2eac640e1f71ef08eb9398e7df661d4 (patch)
treee31521186a055718aa257d190e7ebfe7a67b388a /meta-oe/dynamic-layers/meta-python/recipes-extended/mozjs/mozjs_60.9.0.bb
parent4e42fe5519207974373873f5a620deebb70f02c3 (diff)
downloadmeta-openembedded-e7bf8b6cb2eac640e1f71ef08eb9398e7df661d4.tar.gz
mozjs: fix multilib conflict
fix error: .do_rootfs.2023872:4562: file /usr/bin/js60-config conflicts between attempted installs of mozjs-dev-60.9.0-r0.core2_64 and lib32-mozjs-dev-60.9.0-r0.core2_32 log.do_rootfs.2023872:4563: file /usr/include/mozjs-60/js-config.h conflicts between attempted installs of mozjs-dev-60.9.0-r0.core2_64 and lib32-mozjs-dev-60.9.0-r0.core2_32 Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/dynamic-layers/meta-python/recipes-extended/mozjs/mozjs_60.9.0.bb')
-rw-r--r--meta-oe/dynamic-layers/meta-python/recipes-extended/mozjs/mozjs_60.9.0.bb8
1 files changed, 8 insertions, 0 deletions
diff --git a/meta-oe/dynamic-layers/meta-python/recipes-extended/mozjs/mozjs_60.9.0.bb b/meta-oe/dynamic-layers/meta-python/recipes-extended/mozjs/mozjs_60.9.0.bb
index 629c6524e..130ff13ec 100644
--- a/meta-oe/dynamic-layers/meta-python/recipes-extended/mozjs/mozjs_60.9.0.bb
+++ b/meta-oe/dynamic-layers/meta-python/recipes-extended/mozjs/mozjs_60.9.0.bb
@@ -119,6 +119,14 @@ do_install_prepend() {
119 export PYTHONPATH=`cat ${B}/PYTHONPATH` 119 export PYTHONPATH=`cat ${B}/PYTHONPATH`
120} 120}
121 121
122inherit multilib_script multilib_header
123
124MULTILIB_SCRIPTS += " ${PN}-dev:${bindir}/js60-config"
125
126do_install_append() {
127 oe_multilib_header mozjs-60/js-config.h
128}
129
122PACKAGES =+ "lib${BPN}" 130PACKAGES =+ "lib${BPN}"
123FILES_lib${BPN} += "${libdir}/lib*.so" 131FILES_lib${BPN} += "${libdir}/lib*.so"
124FILES_${PN}-dev += "${bindir}/js60-config" 132FILES_${PN}-dev += "${bindir}/js60-config"