[oe-commits] Khem Raj : mozjs: Fix QA errors when building with multilib

git at git.openembedded.org git at git.openembedded.org
Wed Jan 22 17:55:52 UTC 2014


Module: meta-openembedded.git
Branch: master-next
Commit: eed618223062e69466d3b64ff27ded342c498d83
URL:    http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=eed618223062e69466d3b64ff27ded342c498d83

Author: Khem Raj <raj.khem at gmail.com>
Date:   Thu Jan 16 23:50:51 2014 -0800

mozjs: Fix QA errors when building with multilib

We do not take care of default libdir which accidently
works out to be ok for non-multilib case since its /usr/lib

Fixes error like

ERROR: QA Issue: mozjs: Files/directories were installed but not shipped
  /usr/lib
  /usr/lib/libmozjs-17.0.a
  /usr/lib/libmozjs-17.0.so
  /usr/lib/pkgconfig
  /usr/lib/.debug
  /usr/lib/pkgconfig/mozjs-17.0.pc
  /usr/lib/.debug/libmozjs-17.0.so

Signed-off-by: Khem Raj <raj.khem at gmail.com>
Acked-by: Koen Kooi <koen at dominion.thruhere.net>
Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>

---

 meta-oe/recipes-extended/mozjs/mozjs_17.0.0.bb | 1 +
 1 file changed, 1 insertion(+)

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 311372f..891ae9d 100644
--- a/meta-oe/recipes-extended/mozjs/mozjs_17.0.0.bb
+++ b/meta-oe/recipes-extended/mozjs/mozjs_17.0.0.bb
@@ -23,6 +23,7 @@ EXTRA_OECONF = " \
     --prefix=${prefix} \
     --with-nspr-libs='-lplds4 -lplc4 -lnspr4' \
     --enable-threadsafe \
+    --libdir=${libdir} \
 "
 
 # mozjs requires autoreconf 2.13



More information about the Openembedded-commits mailing list