[oe-commits] [meta-openembedded] 23/39: mozjs: Fix incorrect usage of PN.

git at git.openembedded.org git at git.openembedded.org
Fri Aug 5 10:26:22 UTC 2016


martin_jansa pushed a commit to branch master-next
in repository meta-openembedded.

commit 3e97f1153b89be784a438cc06fed183d0a76c792
Author: Jeremy Puhlman <jpuhlman at mvista.com>
AuthorDate: Sun Jul 31 21:20:41 2016 -0700

    mozjs: Fix incorrect usage of PN.
    
    When building mutlilib, using ${PN} in the middle of the package name
    creates incorrect package names:
    
    lib32-liblib32-mozjs
    lib32-liblib32-mozjs.shlibdeps
    
    Which in turn breaks license.bbclass during image creation.
    
    Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
---
 meta-oe/recipes-extended/mozjs/mozjs_17.0.0.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta-oe/recipes-extended/mozjs/mozjs_17.0.0.bb b/meta-oe/recipes-extended/mozjs/mozjs_17.0.0.bb
index 02d5694..f147714 100644
--- a/meta-oe/recipes-extended/mozjs/mozjs_17.0.0.bb
+++ b/meta-oe/recipes-extended/mozjs/mozjs_17.0.0.bb
@@ -59,8 +59,8 @@ do_unpack() {
 }
 
 
-PACKAGES =+ "lib${PN}"
-FILES_lib${PN} += "${libdir}/lib*.so"
+PACKAGES =+ "lib${BPN}"
+FILES_lib${BPN} += "${libdir}/lib*.so"
 FILES_${PN}-dev += "${bindir}/js17-config"
 
 # Fails to build with thumb-1 (qemuarm)

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list