[oe-commits] Richard Purdie : pkgconfig: Ensure pkgconfig RDEPENDS are tracked
git at git.openembedded.org
git at git.openembedded.org
Wed Feb 1 15:15:31 UTC 2012
Module: openembedded-core.git
Branch: master
Commit: 23e773eb8b70a5e36270b2e6415512b7dc4f1e05
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=23e773eb8b70a5e36270b2e6415512b7dc4f1e05
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
Date: Tue Jan 31 15:52:27 2012 +0000
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 at linuxfoundation.org>
---
meta/classes/pkgconfig.bbclass | 5 +++++
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 @@
DEPENDS_prepend = "pkgconfig-native "
+
+PKGCONFIGRDEP = "pkgconfig"
+PKGCONFIGRDEP_virtclass-native = ""
+
+RDEPENDS_${PN}-dev += "${PKGCONFIGRDEP}"
More information about the Openembedded-commits
mailing list