mirror of
https://git.yoctoproject.org/poky
synced 2026-05-31 12:49:46 +00:00
perl: fix PERL5LIB settings
The PERL5LIB settings in the perl wrapper script did not include the "site_perl" or "vendor_perl" directories, which caused some errors. See https://bugzilla.yoctoproject.org/show_bug.cgi?id=6890 (From OE-Core rev: 477ca2da14abaf072d3645c4be916760a48b8938) (From OE-Core rev: df4ace81f24e17d5fbf68ddf012b18d4bfc8c156) Signed-off-by: Wolfgang Denk <wd@denx.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
8d8e8d0a8e
commit
fa75856b4b
@@ -103,8 +103,8 @@ do_install () {
|
|||||||
install $i ${D}${libdir}/perl/${PV}/CORE
|
install $i ${D}${libdir}/perl/${PV}/CORE
|
||||||
done
|
done
|
||||||
|
|
||||||
create_wrapper ${D}${bindir}/perl PERL5LIB='$PERL5LIB:${STAGING_LIBDIR}/perl/${PV}:${STAGING_LIBDIR}/perl/'
|
create_wrapper ${D}${bindir}/perl PERL5LIB='$PERL5LIB:${STAGING_LIBDIR}/perl/${PV}:${STAGING_LIBDIR}/perl:${STAGING_LIBDIR}/perl/site_perl/${PV}:${STAGING_LIBDIR}/perl/vendor_perl/${PV}'
|
||||||
create_wrapper ${D}${bindir}/perl${PV} PERL5LIB='$PERL5LIB:${STAGING_LIBDIR}/perl/${PV}:${STAGING_LIBDIR}/perl/'
|
create_wrapper ${D}${bindir}/perl${PV} PERL5LIB='$PERL5LIB:${STAGING_LIBDIR}/perl/${PV}:${STAGING_LIBDIR}/perl${STAGING_LIBDIR}/perl:${STAGING_LIBDIR}/perl/site_perl/${PV}:${STAGING_LIBDIR}/perl/vendor_perl/${PV}'
|
||||||
|
|
||||||
# Use /usr/bin/env nativeperl for the perl script.
|
# Use /usr/bin/env nativeperl for the perl script.
|
||||||
for f in `grep -Il '#! *${bindir}/perl' ${D}/${bindir}/*`; do
|
for f in `grep -Il '#! *${bindir}/perl' ${D}/${bindir}/*`; do
|
||||||
|
|||||||
Reference in New Issue
Block a user