diff options
author | Phil Blundell <philb@gnu.org> | 2011-08-15 17:16:31 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-08-17 15:14:54 +0100 |
commit | b7937a4f3946c72516f772ea21db28694c558f7b (patch) | |
tree | f51b15efa93d8f2b63bfb50fe3c0585a0bcc3b44 /meta/classes/perlnative.bbclass | |
parent | a21ff559e7c93e9da61104f4a33e42e6004189fd (diff) | |
download | poky-b7937a4f3946c72516f772ea21db28694c558f7b.tar.gz |
cmake.bbclass, perlnative.bbclass: arrange for cmake to find perl-native
When CMake is looking for perl, it only searches in the specific directories
that it's told about and ignores ${PATH}. If perlnative is in use, ensure
that the appropriate installation path is added to the list of places that
cmake will look for perl, otherwise it won't ever be found.
(From OE-Core rev: add9e4e30e0b1e0f93479b43ce61953efb90985d)
Signed-off-by: Phil Blundell <philb@gnu.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/perlnative.bbclass')
-rw-r--r-- | meta/classes/perlnative.bbclass | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes/perlnative.bbclass b/meta/classes/perlnative.bbclass index 522344d9af..2211b72135 100644 --- a/meta/classes/perlnative.bbclass +++ b/meta/classes/perlnative.bbclass | |||
@@ -1,2 +1,3 @@ | |||
1 | PATH_prepend = "${STAGING_BINDIR_NATIVE}/perl-native:" | 1 | PATH_prepend = "${STAGING_BINDIR_NATIVE}/perl-native:" |
2 | DEPENDS += "perl-native" | 2 | DEPENDS += "perl-native" |
3 | OECMAKE_PERLNATIVE_DIR = "${STAGING_BINDIR_NATIVE}/perl-native" | ||