Message ID | 20250121085526.1370937-1-hongxu.jia@windriver.com |
---|---|
State | New |
Headers | show |
Series | [1/9] perl: fix do_install failed for nativesdk-perl | expand |
diff --git a/meta/recipes-devtools/perl/perl_5.40.0.bb b/meta/recipes-devtools/perl/perl_5.40.0.bb index 77b92ae804..30f2431f27 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 \
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 <hongxu.jia@windriver.com> --- meta/recipes-devtools/perl/perl_5.40.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)