diff mbox series

[2/5] latencytop: Inherit pkgconfig

Message ID 20170206204616.26245-2-raj.khem@gmail.com
State New
Headers show
Series [1/5] qemu: Inherit pkgconfig | expand

Commit Message

Khem Raj Feb. 6, 2017, 8:46 p.m. UTC
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@gmail.com>

---
 meta/recipes-kernel/latencytop/latencytop_0.5.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

-- 
2.11.1

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core
diff mbox series

Patch

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"