Skip to contentSkip to conversation

pkg-config: depend on pkgconfig-native for target builds

PATCH New Ross Burton 1 participant 1 message Feb 1, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 pkg-config: depend on pkgconfig-native for target builds

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.

---
 meta/recipes-devtools/pkgconfig/pkgconfig_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-devtools/pkgconfig/pkgconfig_git.bb +1 -1
index ff8254c..66b02f1 100644
@@ -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 = ""
 
Signature · 1 line
2.8.1