fix nestegg build.sh

This commit is contained in:
Kostya Serebryany 2018-05-31 20:06:07 -07:00
parent 2b844f4405
commit cccb5e9450
1 changed files with 5 additions and 3 deletions

View File

@ -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