gdk-pixbuf: fix ptest RDEPENDS for multilib build

Don't hardcode the package name, it could be gdk-pixbuf or
lib32-gdk-pixbuf.

(From OE-Core rev: 92a299a550b5b9c68c0285fdeb3d4c9defa0dede)

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Wenzong Fan
2017-08-21 02:09:57 -04:00
committed by Richard Purdie
parent b1f237ebd0
commit 624da0cc25

View 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() {