[PATCH 7/8] tools/thermal: tmon: use pkg-config to determine library dependencies

2015-02-17 Thread Brian Norris
Some distros (e.g., Arch Linux) don't package the tinfo library separately from ncurses, so don't unconditionally include it. Instead, use pkg-config. The $(STATIC) ugliness is to handle the reported build case from commit 6b533269fb25 ("tools/thermal: tmon: fix compilation errors when building

[PATCH 7/8] tools/thermal: tmon: use pkg-config to determine library dependencies

2015-02-17 Thread Brian Norris
Some distros (e.g., Arch Linux) don't package the tinfo library separately from ncurses, so don't unconditionally include it. Instead, use pkg-config. The $(STATIC) ugliness is to handle the reported build case from commit 6b533269fb25 (tools/thermal: tmon: fix compilation errors when building