diff options
author | hongxu <hongxu.jia@eng.windriver.com> | 2025-01-21 16:55:18 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-02-06 07:40:53 +0000 |
commit | 069a3460360e5b0fda433f30d96ce18db5a7d75c (patch) | |
tree | f3cb9babdcd0a705b60f34d281f251ee021f69f8 | |
parent | 1141e202e7719167e1fdfcdf036fb92d7638c625 (diff) | |
download | poky-069a3460360e5b0fda433f30d96ce18db5a7d75c.tar.gz |
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
(From OE-Core rev: 68b368c77198c8f6e5f59e7b8a568645240ae426)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-devtools/perl/perl_5.40.0.bb | 2 |
1 files changed, 1 insertions, 1 deletions
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() { | |||
90 | } | 90 | } |
91 | 91 | ||
92 | do_configure:class-nativesdk() { | 92 | do_configure:class-nativesdk() { |
93 | ./configure --prefix=${prefix} \ | 93 | ./configure --prefix=${prefix} --libdir=${libdir} \ |
94 | --target=${TARGET_SYS} \ | 94 | --target=${TARGET_SYS} \ |
95 | -Duseshrplib \ | 95 | -Duseshrplib \ |
96 | -Dusethreads \ | 96 | -Dusethreads \ |