[oe] [meta-oe][PATCH] hdf5: fix installed-vs-shipped QA WARNING

Hongxu Jia hongxu.jia at windriver.com
Wed Mar 13 05:56:41 UTC 2019


While baselib = 'lib64', there is a installed-vs-shipped QA WARNING
...
WARNING: QA Issue: hdf5: Files/directories were installed but not shipped in any package:
  /usr/lib/libhdf5_hl_cpp.so.1.8.19
  /usr/lib/libhdf5.so
...

Set variable HDF5_INSTALL_LIB_DIR to replace hardcode `lib'.

Signed-off-by: Hongxu Jia <hongxu.jia at windriver.com>
---
 meta-oe/recipes-support/hdf5/hdf5_1.8.19.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta-oe/recipes-support/hdf5/hdf5_1.8.19.bb b/meta-oe/recipes-support/hdf5/hdf5_1.8.19.bb
index 7ea6f64..cec3432 100644
--- a/meta-oe/recipes-support/hdf5/hdf5_1.8.19.bb
+++ b/meta-oe/recipes-support/hdf5/hdf5_1.8.19.bb
@@ -37,6 +37,7 @@ EXTRA_OECMAKE = " \
     -DH5_NO_ALIGNMENT_RESTRICTIONS_RUN=0 \
     -DH5_NO_ALIGNMENT_RESTRICTIONS_RUN__TRYRUN_OUTPUT= \
     -DCMAKE_INSTALL_PREFIX='${prefix}' \
+    -DHDF5_INSTALL_LIB_DIR='${baselib}' \
 "
 
 do_unpack[postfuncs] += "gen_hd5file"
-- 
2.7.4



More information about the Openembedded-devel mailing list