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 <[email protected]>
---
 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

-- 
You received this message because you are subscribed to the Google Groups "EFI 
Boot Guard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/efibootguard-dev/20230714153129.11633-1-earl_chew%40yahoo.com.

Reply via email to