[oe-commits] Yi Zhao : wbxml2: set correct LIB_SUFFIX for multilib

git at git.openembedded.org git at git.openembedded.org
Thu Aug 27 13:43:33 UTC 2015


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

Author: Yi Zhao <yi.zhao at windriver.com>
Date:   Fri Aug 21 14:08:50 2015 +0800

wbxml2: set correct LIB_SUFFIX for multilib

Fix QA issue when enable multilib:
ERROR: QA Issue: wbxml2: Files/directories were installed but not shipped in any package:
  /usr/lib
  /usr/lib/libwbxml2.so.0.0.17
  /usr/lib/libwbxml2.so
  /usr/lib/libwbxml2.so.0
  /usr/lib/.debug
  /usr/lib/pkgconfig
  /usr/lib/.debug/libwbxml2.so.0.0.17
  /usr/lib/pkgconfig/libwbxml2.pc
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install. [installed-vs-shipped]

Signed-off-by: Yi Zhao <yi.zhao at windriver.com>

---

 meta-oe/recipes-support/opensync/wbxml2_0.10.8.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta-oe/recipes-support/opensync/wbxml2_0.10.8.bb b/meta-oe/recipes-support/opensync/wbxml2_0.10.8.bb
index d383c65..bd15bba 100644
--- a/meta-oe/recipes-support/opensync/wbxml2_0.10.8.bb
+++ b/meta-oe/recipes-support/opensync/wbxml2_0.10.8.bb
@@ -15,6 +15,8 @@ S = "${WORKDIR}/libwbxml-${PV}"
 
 inherit cmake pkgconfig
 
+EXTRA_OECMAKE = "-DLIB_SUFFIX=${@d.getVar('baselib', True).replace('lib', '')}"
+
 PACKAGES += "${PN}-tools"
 
 FILES_${PN}-tools = "${bindir}"



More information about the Openembedded-commits mailing list