]> code.ossystems Code Review - openembedded-core.git/commitdiff
pkg-config: depend on pkgconfig-native for target builds
authorRoss Burton <ross.burton@intel.com>
Tue, 31 Jan 2017 20:24:32 +0000 (20:24 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 2 Feb 2017 17:37:33 +0000 (17:37 +0000)
When building for the target, pkg-config uses the target glib-2.0 instead of
it's own minimal fork. To find this it needs to use pkg-config so ensure this
dependency exists in case it doesn't exist on the host already.

Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-devtools/pkgconfig/pkgconfig_git.bb

index ff8254cfcdb33ea73d3bd7232abaf73684423437..66b02f175d791ed8c77029d3ed9b7654af7c4014 100644 (file)
@@ -8,7 +8,7 @@ SECTION = "console/utils"
 LICENSE = "GPLv2+"
 LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
 
-DEPENDS = "glib-2.0"
+DEPENDS = "glib-2.0 pkgconfig-native"
 DEPENDS_class-native = ""
 DEPENDS_class-nativesdk = ""