When building unit tests, LIBCHECK_LIBS was already used to find
the corresponding library. Add LIBCHECK_CFLAGS to find the
matching headers.
Signed-off-by: Earl Chew <
earl...@yahoo.com>
---
tools/tests/Makefile.am | 1 +
1 file changed, 1 insertion(+)
diff --git a/tools/tests/Makefile.am b/tools/tests/Makefile.am
index 71f7159..0fa1512 100644
--- a/tools/tests/Makefile.am
+++ b/tools/tests/Makefile.am
@@ -15,6 +15,7 @@
OBJCOPY ?= objcopy
AM_CFLAGS = \
+ $(LIBCHECK_CFLAGS) \
-I$(top_srcdir)/include \
-I$(top_srcdir)/swupdate-adapter \
-I$(top_srcdir)/tools \
--
2.39.1