summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python
diff options
context:
space:
mode:
authorChangqing Li <changqing.li@windriver.com>2025-03-03 15:25:04 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-03-03 18:01:30 +0000
commit43b2a05422258ed765feb23c19e0a6eac82045a1 (patch)
tree6c9ef83936c8a96ac19ec971a5080002f1b5d575 /meta/recipes-devtools/python
parent6864079933fe9720f0a2dbdae7fe4a1b05e7ecf1 (diff)
downloadpoky-43b2a05422258ed765feb23c19e0a6eac82045a1.tar.gz
python3: update python3-ctypes RDEPENDS to RRECOMMENDS
ctypes.util.find_library depend on run external programs(ldconfig, gcc, objdump or ld) to get the pathname, if none of above are installed, None is returned. Previously, RDEPENDS to ldconfig is added to ensure it always work when installed. This commit change it to RRECOMMENDS, this allows user who don't use function find_library could remove ldconfig from image by PACKAGE_EXCLUDE Refer: https://docs.python.org/3/library/ctypes.html (From OE-Core rev: 404e7c65499c58d2a6a760b5f0994fadd2ff74d0) Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python')
-rw-r--r--meta/recipes-devtools/python/python3_3.13.2.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-devtools/python/python3_3.13.2.bb b/meta/recipes-devtools/python/python3_3.13.2.bb
index 2010f6b7d1..7c36fd92ed 100644
--- a/meta/recipes-devtools/python/python3_3.13.2.bb
+++ b/meta/recipes-devtools/python/python3_3.13.2.bb
@@ -477,7 +477,7 @@ FILES:${PN}-man = "${datadir}/man"
477 477
478# See https://bugs.python.org/issue18748 and https://bugs.python.org/issue37395 478# See https://bugs.python.org/issue18748 and https://bugs.python.org/issue37395
479RDEPENDS:libpython3:append:libc-glibc = " libgcc" 479RDEPENDS:libpython3:append:libc-glibc = " libgcc"
480RDEPENDS:${PN}-ctypes:append:libc-glibc = " ${MLPREFIX}ldconfig" 480RRECOMMENDS:${PN}-ctypes:append:libc-glibc = " ${MLPREFIX}ldconfig"
481RDEPENDS:${PN}-ptest = "\ 481RDEPENDS:${PN}-ptest = "\
482 ${PN}-dev \ 482 ${PN}-dev \
483 ${PN}-modules \ 483 ${PN}-modules \