mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-05-17 12:08:45 +00:00
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>
This commit is contained in:
parent
4e42fe5519
commit
e7bf8b6cb2
@ -119,6 +119,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"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user