diff --git a/projects/nestegg/build.sh b/projects/nestegg/build.sh index f108dfef4..1e496784b 100644 --- a/projects/nestegg/build.sh +++ b/projects/nestegg/build.sh @@ -1,8 +1,10 @@ #!/bin/bash -eu -$CXX $CXXFLAGS -o $OUT/fuzz -I./include src/nestegg.c test/fuzz.cc -lFuzzingEngine +$CC $CFLAGS -c -I./include src/nestegg.c +$CXX $CXXFLAGS -o $OUT/fuzz -I./include nestegg.o test/fuzz.cc -lFuzzingEngine + mkdir corpus/ -cp -R testdata/*.webm corpus/ -cp nestegg/test/media/*.webm corpus/ +cp -R ../testdata/*.webm corpus/ +cp test/media/*.webm corpus/ zip -rj0 $OUT/fuzz_seed_corpus.zip corpus/*.webm