[oe-commits] Yi Zhao : openjpeg: pass correct libdir to cmake

git at git.openembedded.org git at git.openembedded.org
Wed Jun 17 20:36:15 UTC 2015


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

Author: Yi Zhao <yi.zhao at windriver.com>
Date:   Thu Jun 11 16:35:54 2015 +0800

openjpeg: pass correct libdir to cmake

When MACHINE=qemux86-64 and enable multilib:
ERROR: QA Issue: openjpeg: Files/directories were installed but not
shipped in any package:
  /usr/lib
  /usr/lib/libopenjp2.so
  /usr/lib/libopenjp2.so.2.1.0
  /usr/lib/libopenjp2.so.7
  /usr/lib/.debug
  /usr/lib/pkgconfig
  /usr/lib/.debug/libopenjp2.so.2.1.0
  /usr/lib/pkgconfig/libopenjp2.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]

Pass the correct libdir configuration option to cmake.

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

---

 meta-oe/recipes-graphics/openjpeg/openjpeg_2.1.0.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/meta-oe/recipes-graphics/openjpeg/openjpeg_2.1.0.bb b/meta-oe/recipes-graphics/openjpeg/openjpeg_2.1.0.bb
index 9f6dd57..d28a865 100644
--- a/meta-oe/recipes-graphics/openjpeg/openjpeg_2.1.0.bb
+++ b/meta-oe/recipes-graphics/openjpeg/openjpeg_2.1.0.bb
@@ -13,6 +13,7 @@ inherit cmake
 DEPENDS = "libpng tiff lcms"
 
 # standard path for *.cmake
-EXTRA_OECMAKE += "-DOPENJPEG_INSTALL_PACKAGE_DIR=${baselib}/cmake"
+EXTRA_OECMAKE += "-DOPENJPEG_INSTALL_PACKAGE_DIR=${baselib}/cmake \
+                  -DOPENJPEG_INSTALL_LIB_DIR:PATH=${libdir}"
 
 FILES_${PN}-dev += "${libdir}/cmake/*.cmake"



More information about the Openembedded-commits mailing list