python3: update python3-ctypes RDEPENDS to RRECOMMENDS
PATCH 1/1 python3: update python3-ctypes RDEPENDS to RRECOMMENDS
From: Changqing Li <[email protected]>
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
Signed-off-by Changqing Li <[email protected]>
--- meta/recipes-devtools/python/python3_3.13.2.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-devtools/python/python3_3.13.2.bb +1 -1
@@ -477,7 +477,7 @@ FILES:${PN}-man = "${datadir}/man" # See https://bugs.python.org/issue18748 and https://bugs.python.org/issue37395 RDEPENDS:libpython3:append:libc-glibc = " libgcc" -RDEPENDS:${PN}-ctypes:append:libc-glibc = " ${MLPREFIX}ldconfig" +RRECOMMENDS:${PN}-ctypes:append:libc-glibc = " ${MLPREFIX}ldconfig" RDEPENDS:${PN}-ptest = "\ ${PN}-dev \ ${PN}-modules \
Signature · 1 line
2.34.1