pigz: Ensure DEPENDS on zlib exists for native and target versions
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 18 Mar 2012 00:02:22 +0000 (00:02 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 19 Mar 2012 14:37:46 +0000 (14:37 +0000)
This avoids a build failure for the target version when zlib hasn't built yet.

(From OE-Core rev: 3b0a69a99a3a56aa88d69c9288b17a38fa9956b8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-extended/pigz/pigz.inc

index acf1b71..5fda8ca 100644 (file)
@@ -12,7 +12,7 @@ SRC_URI = "http://zlib.net/pigz/pigz-${PV}.tar.gz \
 
 PROVIDES_virtclass-native += "gzip-native"
 
-DEPENDS_virtclass-native = "zlib-native"
+DEPENDS = "zlib"
 
 do_install () {
         install -d ${D}${bindir}