[oe-commits] Yi Zhao : libqofono: fix the hardcoded libdir

git at git.openembedded.org git at git.openembedded.org
Tue Aug 25 09:54:41 UTC 2015


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

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

libqofono: fix the hardcoded libdir

Fix QA issue when enable multilib:
ERROR: QA Issue: libqofono: Files/directories were installed but not shipped in any package:
  /usr/lib
  /usr/lib/libqofono.so.0.1.0
  /usr/lib/libqofono.so.0
  /usr/lib/libqofono.so.0.1
  /usr/lib/libqofono.so
  /usr/lib/libqofono.prl
  [snip]
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-qt/libqofono/libqofono_0.4.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta-oe/recipes-qt/libqofono/libqofono_0.4.bb b/meta-oe/recipes-qt/libqofono/libqofono_0.4.bb
index d526044..9349372 100644
--- a/meta-oe/recipes-qt/libqofono/libqofono_0.4.bb
+++ b/meta-oe/recipes-qt/libqofono/libqofono_0.4.bb
@@ -66,6 +66,7 @@ do_configure_prepend() {
     # Hack *.pro variables
     find . -iname '*.pro' -exec sed -i -e 's,$$\[QT_INSTALL_IMPORTS\],${QT_IMPORTS_DIR},g' '{}' ';'
     find . -iname '*.pro' -exec sed -i -e 's,$$\[QT_INSTALL_PREFIX\],$$INSTALL_ROOT$$PREFIX,g' '{}' ';'
+    find . -iname '*.pro' -exec sed -i -e 's,$$INSTALL_ROOT$$PREFIX/lib,$$INSTALL_ROOT$$PREFIX/${baselib},g' '{}' ';'
 }
 
 do_install() {



More information about the Openembedded-commits mailing list