]> code.ossystems Code Review - openembedded-core.git/commitdiff
perl-native: Bring build dependencies inline with target perl package
authorSerhii Popovych <spopovyc@cisco.com>
Tue, 28 Mar 2017 19:02:38 +0000 (19:02 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 31 Mar 2017 11:07:14 +0000 (12:07 +0100)
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>
meta/recipes-devtools/perl/perl-native_5.24.1.bb

index 896a379db678a013a8e8dee1553ae437194f035b..e01d11fbed7f1fdb55643c8fe9f025ebfdaf6269 100644 (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 += "\