diff options
author | Christopher Larson <kergoth@gmail.com> | 2014-06-13 17:37:45 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-06-14 08:43:40 +0100 |
commit | 8072f26f7304ff5367d5be357037644cb1f6241e (patch) | |
tree | d0b3bd181e2a354ae6fac4e48f666238aaa94c95 | |
parent | 0069c06cc9c929de7e7d29b0381fcb36049a4401 (diff) | |
download | openembedded-core-8072f26f7304ff5367d5be357037644cb1f6241e.tar.gz openembedded-core-8072f26f7304ff5367d5be357037644cb1f6241e.tar.bz2 openembedded-core-8072f26f7304ff5367d5be357037644cb1f6241e.zip |
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 <kergoth@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-devtools/git/git.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-devtools/git/git.inc b/meta/recipes-devtools/git/git.inc index 9ed13dba39..4e0527cab6 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 () { |