Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 809b6ecb authored by Olaf Hering's avatar Olaf Hering Committed by Zhang Rui
Browse files

tools/thermal: tmon: use pkg-config also for CFLAGS



The header <panel.h> might be in /usr/include/ncursesw, which is not
part of the standard include path. This fixes compile on openSUSE.

Signed-off-by: default avatarOlaf Hering <olaf@aepfle.de>
Signed-off-by: default avatarZhang Rui <rui.zhang@intel.com>
parent e866a2e3
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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 +=