Skip to contentSkip to conversation

perl: Fix bug when installs SDK in custom directory

PATCH New Aníbal Limón 1 participant 1 message Nov 3, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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]

---
 meta/recipes-devtools/perl/perl_5.20.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-devtools/perl/perl_5.20.0.bb +1 -1
index e594c5c..ec01765 100644
@@ -221,7 +221,7 @@ do_install() {
 
 do_install_append_class-nativesdk () {
         create_wrapper ${D}${bindir}/perl \
-            PERL5LIB='$PERL5LIB:$OECORE_NATIVE_SYSROOT/${libdir_nativesdk}/perl:$OECORE_NATIVE_SYSROOT/${libdir_nativesdk}/perl/${PV}'
+            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}'
 }
 
 PACKAGE_PREPROCESS_FUNCS += "perl_package_preprocess"
Signature · 1 line
1.9.1