Define BUILDING_NGHTTP2 for tests to make linker work

This commit is contained in:
Tatsuhiro Tsujikawa 2022-07-05 18:10:35 +09:00
parent 118648ff17
commit 2da1713200
1 changed files with 1 additions and 0 deletions

View File

@ -78,6 +78,7 @@ AM_CFLAGS = $(WARNCFLAGS) \
-I${top_srcdir}/lib \ -I${top_srcdir}/lib \
-I${top_srcdir}/lib/includes \ -I${top_srcdir}/lib/includes \
-I${top_builddir}/lib/includes \ -I${top_builddir}/lib/includes \
-DBUILDING_NGHTTP2 \
@CUNIT_CFLAGS@ @DEFS@ @CUNIT_CFLAGS@ @DEFS@
TESTS = main TESTS = main