http-parser: fix fuzz-introspector build (#9557)

Only build the necessary components for the fuzzers. One test is causing
issues for fuzz introspector, this fixes it.
This commit is contained in:
DavidKorczynski 2023-02-02 14:06:02 +00:00 committed by GitHub
parent 9cd03a3a6d
commit 931b20488d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@
################################################################################
cd http-parser
make
make http_parser.o
$CC $CFLAGS -I. -DHTTP_PARSER_STRICT=0 -Wall -Wextra -Werror -c fuzzers/fuzz_parser.c -o fuzz_parser.o
$CXX $CXXFLAGS $LIB_FUZZING_ENGINE -Wall -Wextra -Werror http_parser.o fuzz_parser.o -o $OUT/fuzz_parser