Skip to contentSkip to conversation

Fix QA errors when building with multilib

PATCH In review Khem Raj 2 participants 2 messages Jan 17, 2014

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 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

---
 meta-oe/recipes-extended/mozjs/mozjs_17.0.0.bb |    1 +
 1 file changed, 1 insertion(+)
meta-oe/recipes-extended/mozjs/mozjs_17.0.0.bb +1 -0
index 311372f..891ae9d 100644
@@ -23,6 +23,7 @@ EXTRA_OECONF = " \
     --prefix=${prefix} \
     --with-nspr-libs='-lplds4 -lplc4 -lnspr4' \
     --enable-threadsafe \
+    --libdir=${libdir} \
 "
 
 # mozjs requires autoreconf 2.13
Signature · 1 line
1.7.9.5
Acked-by on v1 1/1
#1 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Khem Raj schreef op 17-01-14 08:50:

Quoted 11 lines

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

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
Comment: GPGTools - http://gpgtools.org

iD8DBQFS2S6jMkyGM64RGpERAgODAKCgBd8o0yrypgI5AaBXtpQSKrzBcwCfZgKl c1jVwZMI5nayNZvIbFgrDg8=
=3zCt
-----END PGP SIGNATURE-----