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>
(From OE-Core rev: c0e0b3774313f6acb00374c87a4f99201daa2270)

Signed-off-by: Serhii Popovych <spopovyc@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Serhii Popovych 2017-03-28 19:02:38 +00:00 committed by Richard Purdie
parent 3303027113
commit 7cce71cf54
1 changed files with 4 additions and 0 deletions

View File

@ -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 += "\