From: Changqing Li Date: Mon, 3 Mar 2025 07:25:04 +0000 (+0800) Subject: python3: update python3-ctypes RDEPENDS to RRECOMMENDS X-Git-Tag: yocto-5.2~357 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=404e7c65499c58d2a6a760b5f0994fadd2ff74d0;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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 Signed-off-by: Changqing Li Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-devtools/python/python3_3.13.2.bb b/meta/recipes-devtools/python/python3_3.13.2.bb index 2010f6b7d14..7c36fd92ed7 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" # 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 \