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

git at git.openembedded.org git at git.openembedded.org
Mon Aug 31 17:12:18 UTC 2015


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

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