From: Changqing Li <[email protected]>

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 <[email protected]>
---
 .../meta-python/recipes-extended/mozjs/mozjs_60.9.0.bb    | 8 ++++++++
 1 file changed, 8 insertions(+)

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 f13a184b6..554d8338b 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
@@ -117,6 +117,14 @@ do_install_prepend() {
     export PYTHONPATH=`cat ${B}/PYTHONPATH`
 }
 
+inherit multilib_script multilib_header
+
+MULTILIB_SCRIPTS += " ${PN}-dev:${bindir}/js60-config"
+
+do_install_append() {
+       oe_multilib_header mozjs-60/js-config.h
+}
+
 PACKAGES =+ "lib${BPN}"
 FILES_lib${BPN} += "${libdir}/lib*.so"
 FILES_${PN}-dev += "${bindir}/js60-config"
-- 
2.17.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#86389): 
https://lists.openembedded.org/g/openembedded-devel/message/86389
Mute This Topic: https://lists.openembedded.org/mt/76183398/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to