summaryrefslogtreecommitdiffstats
path: root/kernel/tools/thermal/tmon/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/tools/thermal/tmon/Makefile')
-rw-r--r--kernel/tools/thermal/tmon/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/kernel/tools/thermal/tmon/Makefile b/kernel/tools/thermal/tmon/Makefile
index 2e83dd365..3a961e998 100644
--- a/kernel/tools/thermal/tmon/Makefile
+++ b/kernel/tools/thermal/tmon/Makefile
@@ -22,6 +22,9 @@ TMON_LIBS += $(shell pkg-config --libs $(STATIC) panelw ncursesw 2> /dev/null ||
pkg-config --libs $(STATIC) panel ncurses 2> /dev/null || \
echo -lpanel -lncurses)
+CFLAGS += $(shell pkg-config --cflags $(STATIC) panelw ncursesw 2> /dev/null || \
+ pkg-config --cflags $(STATIC) panel ncurses 2> /dev/null)
+
OBJS = tmon.o tui.o sysfs.o pid.o
OBJS +=