]> code.ossystems Code Review - openembedded-core.git/commitdiff
dpkg-native: Fix native perl path
authorMing Liu <ming.liu@windriver.com>
Wed, 29 May 2013 15:09:54 +0000 (10:09 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 29 May 2013 21:17:01 +0000 (22:17 +0100)
The path to the native perl was incorrect leading to rootfs failures. This
patch corrects that problem, it's a complementary fix for commit:04432446.

Signed-off-by: Ming Liu <ming.liu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/dpkg/dpkg.inc

index 619777701ff0e3fd26b01e80af9aa308a5af00e5..5fcf9bcb476c5006cb6e80c86fb7a94bfefdbacd 100644 (file)
@@ -18,6 +18,9 @@ PARALLEL_MAKE = ""
 
 inherit autotools gettext perlnative pkgconfig
 
+export PERL = "${bindir}/perl"
+PERL_class-native = "${STAGING_BINDIR_NATIVE}/perl-native/perl"
+
 export PERL_LIBDIR = "${libdir}/perl"
 PERL_LIBDIR_class-native = "${libdir}/perl-native/perl"