From: Christopher Larson Date: Fri, 13 Jun 2014 16:37:45 +0000 (+0100) Subject: git: don't hardcode the full path to perl X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~33401 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8072f26f7304ff5367d5be357037644cb1f6241e;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git git: don't hardcode the full path to perl Hardcoded paths to perl don't make sense, use from the environment instead. [Patch taken from meta-mentor by RP] Signed-off-by: Christopher Larson Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-devtools/git/git.inc b/meta/recipes-devtools/git/git.inc index 9ed13dba39a..4e0527cab69 100644 --- a/meta/recipes-devtools/git/git.inc +++ b/meta/recipes-devtools/git/git.inc @@ -16,6 +16,7 @@ EXTRA_OECONF = "--with-perl=${STAGING_BINDIR_NATIVE}/perl-native/perl \ inherit autotools-brokensep perlnative EXTRA_OEMAKE = "NO_PYTHON=1 CFLAGS='${CFLAGS}' LDFLAGS='${LDFLAGS}'" +EXTRA_OEMAKE += "'PERL_PATH=/usr/bin/env perl'" EXTRA_OEMAKE_append_class-native = " NO_CROSS_DIRECTORY_HARDLINKS=1" do_compile_prepend () {