generic-poky/meta/classes/pkgconfig.bbclass
Richard Purdie 76640582e8 pkgconfig: Ensure pkgconfig RDEPENDS are tracked
Currently, pkgconfig dependencies get added to -dev packages which install
pc files however nothing in the system makes bitbake aware of these
dependencies so images can fail with pkgconfig being missing.

This change explictly adds in the pkgconfig RDEPENDS to the -dev packages
and hence makes bitbake aware of the dependency.

(From OE-Core rev: 23e773eb8b70a5e36270b2e6415512b7dc4f1e05)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-02-01 15:15:14 +00:00

7 lines
145 B
Text

DEPENDS_prepend = "pkgconfig-native "
PKGCONFIGRDEP = "pkgconfig"
PKGCONFIGRDEP_virtclass-native = ""
RDEPENDS_${PN}-dev += "${PKGCONFIGRDEP}"