]> code.ossystems Code Review - openembedded-core.git/commitdiff
gdk-pixbuf: fix ptest RDEPENDS for multilib build
authorWenzong Fan <wenzong.fan@windriver.com>
Mon, 21 Aug 2017 06:09:57 +0000 (02:09 -0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 21 Aug 2017 07:31:58 +0000 (08:31 +0100)
Don't hardcode the package name, it could be gdk-pixbuf or
lib32-gdk-pixbuf.

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.36.8.bb

index 3d16ee0d8ca699a2ea9929894bd201c954eeaf25..14e63d9683f9508e07c8ba10b4bfa6f95e9bf8b7 100644 (file)
@@ -74,7 +74,7 @@ python populate_packages_prepend () {
 
     # The test suite exercises all the loaders, so ensure they are all
     # dependencies of the ptest package.
-    d.appendVar("RDEPENDS_gdk-pixbuf-ptest", " " + packages)
+    d.appendVar("RDEPENDS_%s-ptest" % d.getVar('PN', True), " " + packages)
 }
 
 do_install_append() {