diff options
author | Aníbal Limón <anibal.limon@linux.intel.com> | 2014-11-03 17:43:00 -0600 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-11-06 16:45:18 +0000 |
commit | 6839a39912d483c6a403bd52e5f889547f1f4807 (patch) | |
tree | b372868a9dfff766d9142c94b3bfec161c03cfc4 /meta/recipes-devtools | |
parent | b0bbdf29a1fea4ced697d216f298bb606af559d2 (diff) | |
download | poky-6839a39912d483c6a403bd52e5f889547f1f4807.tar.gz |
perl: Fix bug when installs SDK in custom directory
Add site_perl and vendor_perl directories in create_wrapper
this fix bug when searching for libraries in these directories.
[YOCTO #6890]
(From OE-Core rev: ea2584213e2e852157ec2490c84cc6c03feb4b40)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r-- | meta/recipes-devtools/perl/perl_5.20.0.bb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-devtools/perl/perl_5.20.0.bb b/meta/recipes-devtools/perl/perl_5.20.0.bb index e594c5c7cf..ec01765ea3 100644 --- a/meta/recipes-devtools/perl/perl_5.20.0.bb +++ b/meta/recipes-devtools/perl/perl_5.20.0.bb | |||
@@ -221,7 +221,7 @@ do_install() { | |||
221 | 221 | ||
222 | do_install_append_class-nativesdk () { | 222 | do_install_append_class-nativesdk () { |
223 | create_wrapper ${D}${bindir}/perl \ | 223 | create_wrapper ${D}${bindir}/perl \ |
224 | PERL5LIB='$PERL5LIB:$OECORE_NATIVE_SYSROOT/${libdir_nativesdk}/perl:$OECORE_NATIVE_SYSROOT/${libdir_nativesdk}/perl/${PV}' | 224 | PERL5LIB='$PERL5LIB:$OECORE_NATIVE_SYSROOT/${libdir_nativesdk}/perl:$OECORE_NATIVE_SYSROOT/${libdir_nativesdk}/perl/${PV}:$OECORE_NATIVE_SYSROOT/${libdir_nativesdk}/perl/site_perl/${PV}:$OECORE_NATIVE_SYSROOT/${libdir_nativesdk}/perl/vendor_perl/${PV}' |
225 | } | 225 | } |
226 | 226 | ||
227 | PACKAGE_PREPROCESS_FUNCS += "perl_package_preprocess" | 227 | PACKAGE_PREPROCESS_FUNCS += "perl_package_preprocess" |