summaryrefslogtreecommitdiffstats
path: root/meta/classes/pkgconfig.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2012-01-31 15:52:27 (GMT)
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-02-01 15:15:14 (GMT)
commit76640582e8ba114d4e80a494f6680fd0ce57ca58 (patch)
tree964720c530a4fbb726d0e4fb4a866c06f74de00c /meta/classes/pkgconfig.bbclass
parentef328622c2b5758be72ea7f327932115cb0404f5 (diff)
downloadpoky-76640582e8ba114d4e80a494f6680fd0ce57ca58.tar.gz
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>
Diffstat (limited to 'meta/classes/pkgconfig.bbclass')
-rw-r--r--meta/classes/pkgconfig.bbclass5
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/classes/pkgconfig.bbclass b/meta/classes/pkgconfig.bbclass
index a12cd64..53e793a 100644
--- a/meta/classes/pkgconfig.bbclass
+++ b/meta/classes/pkgconfig.bbclass
@@ -1 +1,6 @@
1DEPENDS_prepend = "pkgconfig-native " 1DEPENDS_prepend = "pkgconfig-native "
2
3PKGCONFIGRDEP = "pkgconfig"
4PKGCONFIGRDEP_virtclass-native = ""
5
6RDEPENDS_${PN}-dev += "${PKGCONFIGRDEP}"