build: use LIBEDIT_CFLAGS when building gpioset with interactive mode
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Fri, 9 Dec 2022 10:19:52 +0000 (11:19 +0100)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Fri, 9 Dec 2022 10:22:18 +0000 (11:22 +0100)
commitdd99c1342b62b894dd28ca5ad7d99466b7c258f6
treefc566b8b052795ee6caa052b211b65cad5aeb4f3
parent68dd8c6e5edb06391650496e88969215748ad6b3
build: use LIBEDIT_CFLAGS when building gpioset with interactive mode

The Makefile doesn't include the libedit CLFLAGS when building gpioset
with interactive mode enabled. This can lead to a build failure if the
header is not in the standard location (/usr/include/editline/readline.h).

Add LIBEDIT_CFLAGS to AM_CFLAGS.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
tools/Makefile.am