summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/intltool/intltool.inc
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-08-31 11:26:58 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-08-31 18:06:57 +0100
commit8a78ed689daa9a0eab0ff9e0c4d1ac5fc0b520a9 (patch)
tree941a6e028c3b6ebc9375945dbea611aed624e2c4 /meta/recipes-devtools/intltool/intltool.inc
parent9df33286b057f9257aae64d8724e6d1f39f722f2 (diff)
downloadast2050-yocto-poky-8a78ed689daa9a0eab0ff9e0c4d1ac5fc0b520a9.zip
ast2050-yocto-poky-8a78ed689daa9a0eab0ff9e0c4d1ac5fc0b520a9.tar.gz
intltool: Fix perl paths
Currently in the native case we have a path that can easily exceed the interpretor limit so use "env nativeperl" in that case. This patch also fixes up the target version's interpretor path but to do this we need to bypass the configure checks. (From OE-Core rev: b9fa8fd4f09b68cbcc12b557451a58a1f218d7f3) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/intltool/intltool.inc')
-rw-r--r--meta/recipes-devtools/intltool/intltool.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-devtools/intltool/intltool.inc b/meta/recipes-devtools/intltool/intltool.inc
index 7e11fc9..8d4bec5 100644
--- a/meta/recipes-devtools/intltool/intltool.inc
+++ b/meta/recipes-devtools/intltool/intltool.inc
@@ -13,4 +13,7 @@ RRECOMMENDS_${PN}_virtclass-native = ""
inherit autotools pkgconfig perlnative
+export PERL = "${bindir}/env perl"
+PERL_virtclass-native = "/usr/bin/env nativeperl"
+
BBCLASSEXTEND = "native"
OpenPOWER on IntegriCloud