summaryrefslogtreecommitdiff
path: root/meta/recipes-devtools/perl
diff options
context:
space:
mode:
authorSerhii Popovych <spopovyc@cisco.com>2017-03-28 19:02:38 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-03-31 12:07:14 +0100
commitc0e0b3774313f6acb00374c87a4f99201daa2270 (patch)
treef25bfa6cc44eb69a536ac6e815d5ac84cbb9aea2 /meta/recipes-devtools/perl
parent49772e1a1f291d1cacce27b381009dbb441c483e (diff)
downloadopenembedded-core-c0e0b3774313f6acb00374c87a4f99201daa2270.tar.gz
openembedded-core-c0e0b3774313f6acb00374c87a4f99201daa2270.tar.bz2
openembedded-core-c0e0b3774313f6acb00374c87a4f99201daa2270.zip
perl-native: Bring build dependencies inline with target perl package
Make sure we have all build time dependencies of perl-native satisfied before we start building it. Behaviour was observed with RHEL6 build hosts where perl-native build fails at linging stage when attempting to link to the build hosts old Berkley DB because virtual/db-native is missing in native sysroot. Add dependencies to the native packages taken from perl recipe. Cc: XE-Linux <xe-linux-external@cisco.com> Signed-off-by: Serhii Popovych <spopovyc@cisco.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/perl')
-rw-r--r--meta/recipes-devtools/perl/perl-native_5.24.1.bb4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/recipes-devtools/perl/perl-native_5.24.1.bb b/meta/recipes-devtools/perl/perl-native_5.24.1.bb
index 896a379db6..e01d11fbed 100644
--- a/meta/recipes-devtools/perl/perl-native_5.24.1.bb
+++ b/meta/recipes-devtools/perl/perl-native_5.24.1.bb
@@ -1,5 +1,9 @@
require perl.inc
+# We need gnugrep (for -I)
+DEPENDS = "virtual/db-native grep-native"
+DEPENDS += "gdbm-native zlib-native"
+
EXTRA_OEMAKE = "-e MAKEFLAGS="
SRC_URI += "\