Skip to content

Commit

Permalink
Add LIBCHECK_CFLAGS to AM_CFLAGS
Browse files Browse the repository at this point in the history
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]>
Signed-off-by: Jan Kiszka <[email protected]>
  • Loading branch information
earlchew authored and jan-kiszka committed Jul 15, 2023
1 parent e918b07 commit 9dadbe7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tools/tests/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
OBJCOPY ?= objcopy

AM_CFLAGS = \
$(LIBCHECK_CFLAGS) \
-I$(top_srcdir)/include \
-I$(top_srcdir)/swupdate-adapter \
-I$(top_srcdir)/tools \
Expand Down

0 comments on commit 9dadbe7

Please sign in to comment.