From: hongxu Date: Tue, 21 Jan 2025 08:55:18 +0000 (+0800) Subject: perl: fix do_install failed for nativesdk-perl X-Git-Tag: yocto-5.2~561 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=68b368c77198c8f6e5f59e7b8a568645240ae426;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git perl: fix do_install failed for nativesdk-perl While set 'baselib = "lib64"' for nativesdk, perl do_install failed: | rm: cannot remove 'tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-perl/ 5.40.0/image//usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-pokysdk-linux/ usr/lib64/perl5/5.40.0/*/CORE/libperl.so': No such file or directory Refer perl class-target do_configure, explicitly pass option '--libdir=${libdir}' to nativesdk do_configure Signed-off-by: Hongxu Jia Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-devtools/perl/perl_5.40.0.bb b/meta/recipes-devtools/perl/perl_5.40.0.bb index 77b92ae804e..30f2431f279 100644 --- a/meta/recipes-devtools/perl/perl_5.40.0.bb +++ b/meta/recipes-devtools/perl/perl_5.40.0.bb @@ -90,7 +90,7 @@ do_configure:class-target() { } do_configure:class-nativesdk() { - ./configure --prefix=${prefix} \ + ./configure --prefix=${prefix} --libdir=${libdir} \ --target=${TARGET_SYS} \ -Duseshrplib \ -Dusethreads \