diff mbox series

[meta-perl,v2,16/26] libcurses-perl: add perl-module-dynaloader to RDEPENDS

Message ID 20261201015526.1956497-17-tim.orling@konsulko.com
State Under Review
Headers show
Series perl recipes: add missing base, DynaLoader and other perl-module RDEPENDS | expand

Commit Message

Tim Orling Dec. 1, 2026, 1:54 a.m. UTC
Curses loads its XS code with DynaLoader. Nothing in its RDEPENDS pulls
in perl-module-dynaloader, before or after "perl: generate
perl-rdepends.txt with perl.req" in oe-core, so the module fails to load
unless something else installs it. Found by the perl-rdeps QA check.

AI-Generated: Uses Claude Code (Claude Opus 5.5)
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
---
 meta-perl/recipes-perl/libcurses/libcurses-perl_1.46.bb | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

diff --git a/meta-perl/recipes-perl/libcurses/libcurses-perl_1.46.bb b/meta-perl/recipes-perl/libcurses/libcurses-perl_1.46.bb
index 96c37b49f8..e2cc901d5e 100644
--- a/meta-perl/recipes-perl/libcurses/libcurses-perl_1.46.bb
+++ b/meta-perl/recipes-perl/libcurses/libcurses-perl_1.46.bb
@@ -25,6 +25,8 @@  CFLAGS:append:libc-musl = "${@' -DNCURSES_WIDECHAR=1' if bb.utils.to_boolean((d.
 
 inherit cpan
 
+RDEPENDS:${PN} += "perl-module-dynaloader"
+
 do_compile() {
     export LIBC="$(find ${STAGING_DIR_TARGET}/${base_libdir}/ -name 'libc-*.so')"
     cpan_do_compile