diff mbox series

[meta-oe] flatcc: respect baselib

Message ID 20240206113137.464450-1-martin.jansa@gmail.com
State Accepted
Headers show
Series [meta-oe] flatcc: respect baselib | expand

Commit Message

Martin Jansa Feb. 6, 2024, 11:31 a.m. UTC
* avoid installed-vs-shipped with multilib when baselib is lib32 or lib64 instead of just lib

ERROR: QA Issue: lib32-flatcc: Files/directories were installed but not shipped in any package:
  /usr/lib
  /usr/lib/libflatcc.a
  /usr/lib/libflatccrt.a
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
lib32-flatcc: 3 installed and not shipped files. [installed-vs-shipped]

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
---
 meta-oe/recipes-devtools/flatcc/flatcc_git.bb | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/meta-oe/recipes-devtools/flatcc/flatcc_git.bb b/meta-oe/recipes-devtools/flatcc/flatcc_git.bb
index 161c4107b5..ed26299901 100644
--- a/meta-oe/recipes-devtools/flatcc/flatcc_git.bb
+++ b/meta-oe/recipes-devtools/flatcc/flatcc_git.bb
@@ -24,6 +24,7 @@  EXTRA_OECMAKE += " \
     -DFLATCC_INSTALL=On \
     -DFLATCC_TEST=Off \
     -DFLATCC_ALLOW_WERROR=Off \
+    -DFLATCC_INSTALL_LIB=${baselib} \
 "
 
 BBCLASSEXTEND = "native nativesdk"