aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMing Liu <ming.liu@windriver.com>2013-05-29 10:09:54 -0500
committerPaul Eggleton <paul.eggleton@linux.intel.com>2013-05-31 16:03:37 +0100
commit4ab0ca1e5be40041a12d96d8096c57582a3b37de (patch)
treef0d28d3b8ec360907626184ea8cec13876c0fe19
parentffc7f136516a883ba4dda3b6eb810efb0a68b09c (diff)
downloadopenembedded-core-4ab0ca1e5be40041a12d96d8096c57582a3b37de.tar.gz
dpkg-native: Fix native perl path
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. (From OE-Core master rev: 0f99d7fed094a59d2c5c01c83ea38dc852aadf6b) Signed-off-by: Ming Liu <ming.liu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-devtools/dpkg/dpkg.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-devtools/dpkg/dpkg.inc b/meta/recipes-devtools/dpkg/dpkg.inc
index d773fbdc5a..ecdf970554 100644
--- a/meta/recipes-devtools/dpkg/dpkg.inc
+++ b/meta/recipes-devtools/dpkg/dpkg.inc
@@ -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"