[OE-core] [PATCH 2/5] latencytop: Inherit pkgconfig

Khem Raj raj.khem at gmail.com
Mon Feb 6 20:46:13 UTC 2017


When pkg-config is not installed on buildhost errors like below pop up

| /bin/sh: 1: pkg-config: not found
| latencytop.c:34:18: fatal error: glib.h: No such file or directory
|  #include <glib.h>
|                   ^
| compilation terminated.
| make: *** [latencytop.o] Error 1

Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
 meta/recipes-kernel/latencytop/latencytop_0.5.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-kernel/latencytop/latencytop_0.5.bb b/meta/recipes-kernel/latencytop/latencytop_0.5.bb
index f31f1bb7ab..bad27b5d6a 100644
--- a/meta/recipes-kernel/latencytop/latencytop_0.5.bb
+++ b/meta/recipes-kernel/latencytop/latencytop_0.5.bb
@@ -4,7 +4,8 @@ HOMEPAGE = "http://www.latencytop.org/"
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://latencytop.c;endline=23;md5=ee9ea9b1415356e5734adad4a87dc7fa"
 
-DEPENDS = "virtual/libintl ncurses glib-2.0"
+inherit pkgconfig
+DEPENDS += "virtual/libintl ncurses glib-2.0"
 
 PR = "r3"
 
-- 
2.11.1




More information about the Openembedded-core mailing list