diff options
author | Peter Kjellerstedt <peter.kjellerstedt@axis.com> | 2021-09-17 21:06:45 +0200 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2021-09-24 08:12:35 -0700 |
commit | d11af153b7e89905132f57b009dcb29c9d0f1fa1 (patch) | |
tree | 8339ca59ed5195d65ab6a1ea0223a2db0588ecfb | |
parent | 42e7e643c762896fc51111f86cb3bef988fbae77 (diff) | |
download | meta-openembedded-d11af153b7e89905132f57b009dcb29c9d0f1fa1.tar.gz |
libiio: Make libiio-python3 depend on python3-core
Inheriting setuptools3 incorrectly adds the dependency on python3-core
to libiio instead of to libiio-python3 where it belongs.
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r-- | meta-oe/recipes-support/libiio/libiio_git.bb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/meta-oe/recipes-support/libiio/libiio_git.bb b/meta-oe/recipes-support/libiio/libiio_git.bb index 748633d9d..6ac534a28 100644 --- a/meta-oe/recipes-support/libiio/libiio_git.bb +++ b/meta-oe/recipes-support/libiio/libiio_git.bb | |||
@@ -38,7 +38,10 @@ PACKAGECONFIG[libiio-python3] = "-DPYTHON_BINDINGS=ON,-DPYTHON_BINDINGS=OFF" | |||
38 | 38 | ||
39 | PACKAGES =+ "${PN}-iiod ${PN}-tests ${PN}-${PYTHON_PN}" | 39 | PACKAGES =+ "${PN}-iiod ${PN}-tests ${PN}-${PYTHON_PN}" |
40 | 40 | ||
41 | RDEPENDS:${PN}-${PYTHON_PN} = "${PN} ${PYTHON_PN}-ctypes ${PYTHON_PN}-stringold" | 41 | # Inheriting setuptools3 incorrectly adds the dependency on ${PYTHON_PN}-core |
42 | # to ${PN} instead of to ${PN}-${PYTHON_PN} where it belongs. | ||
43 | RDEPENDS:${PN}:remove = "${PYTHON_PN}-core" | ||
44 | RDEPENDS:${PN}-${PYTHON_PN} = "${PN} ${PYTHON_PN}-core ${PYTHON_PN}-ctypes ${PYTHON_PN}-stringold" | ||
42 | 45 | ||
43 | FILES:${PN}-iiod = " \ | 46 | FILES:${PN}-iiod = " \ |
44 | ${sbindir}/iiod \ | 47 | ${sbindir}/iiod \ |