aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian B. Sørensen <yocto@bsorensen.net>2021-02-23 07:30:58 +0100
committerKhem Raj <raj.khem@gmail.com>2021-02-23 11:08:21 -0800
commit96db316f758e8d11f70509e4ca195c7eefcceee5 (patch)
treef59f5a344d2a3a1bc4908aa14fdaf15d3bbdd612
parent0843da7c1336ce320f193af23ff330b6d3f5f67b (diff)
downloadmeta-openembedded-contrib-96db316f758e8d11f70509e4ca195c7eefcceee5.tar.gz
libgpiod: packageqa problem => static python lib to ${PN}-staticdev
Problem: QA Issue: non -staticdev package contains static .a library Reason: Both /usr/lib/python3.8/site-packages/gpiod.a and /usr/lib/python3.8/site-packages/gpiod.so are in ${PN}-python. Signed-off-by: Christian Bräuner Sørensen <yocto@bsorensen.net> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-oe/recipes-support/libgpiod/libgpiod_1.6.2.bb3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta-oe/recipes-support/libgpiod/libgpiod_1.6.2.bb b/meta-oe/recipes-support/libgpiod/libgpiod_1.6.2.bb
index e6b6476e29..c6c262b70b 100644
--- a/meta-oe/recipes-support/libgpiod/libgpiod_1.6.2.bb
+++ b/meta-oe/recipes-support/libgpiod/libgpiod_1.6.2.bb
@@ -31,7 +31,8 @@ FILES_${PN}-tools = "${bindir}/*"
FILES_libgpiodcxx = "${libdir}/libgpiodcxx.so.*"
PACKAGES =+ "${PN}-python"
-FILES_${PN}-python = "${PYTHON_SITEPACKAGES_DIR}"
+FILES_${PN}-python = "${PYTHON_SITEPACKAGES_DIR}/*.so"
+FILES_${PN}-staticdev += "${PYTHON_SITEPACKAGES_DIR}/*.a"
RRECOMMENDS_PYTHON = "${@bb.utils.contains('PACKAGECONFIG', 'python3', '${PN}-python', '',d)}"
RRECOMMENDS_${PN}-python += "${RRECOMMENDS_PYTHON}"