* [PATCH] pkgconfig: Ensure pkgconfig RDEPENDS are tracked
@ 2012-01-31 15:52 Richard Purdie
0 siblings, 0 replies; only message in thread
From: Richard Purdie @ 2012-01-31 15:52 UTC (permalink / raw)
To: openembedded-core
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>
---
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 @@
DEPENDS_prepend = "pkgconfig-native "
+
+PKGCONFIGRDEP = "pkgconfig"
+PKGCONFIGRDEP_virtclass-native = ""
+
+RDEPENDS_${PN}-dev += "${PKGCONFIGRDEP}"
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2012-01-31 16:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-31 15:52 [PATCH] pkgconfig: Ensure pkgconfig RDEPENDS are tracked Richard Purdie
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox