aboutsummaryrefslogtreecommitdiffstats
path: root/meta/classes/pkgconfig.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2012-01-31 15:52:27 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-02-01 15:12:02 +0000
commit23e773eb8b70a5e36270b2e6415512b7dc4f1e05 (patch)
tree9725463acda4de520997f5b55c0be765418fc8d9 /meta/classes/pkgconfig.bbclass
parentb44717c29c4f50917570039adf896680d24bb216 (diff)
downloadopenembedded-core-contrib-23e773eb8b70a5e36270b2e6415512b7dc4f1e05.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. 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 a12cd64852d..53e793ad4e9 100644
--- a/meta/classes/pkgconfig.bbclass
+++ b/meta/classes/pkgconfig.bbclass
@@ -1 +1,6 @@
DEPENDS_prepend = "pkgconfig-native "
+
+PKGCONFIGRDEP = "pkgconfig"
+PKGCONFIGRDEP_virtclass-native = ""
+
+RDEPENDS_${PN}-dev += "${PKGCONFIGRDEP}"