oss-fuzz/expat/build.sh

12 lines
262 B
Bash
Executable File

#!/bin/bash -eu
cd /src/expat/expat
./buildconf.sh
./configure
make clean all
$CXX $CXXFLAGS -std=c++11 -Ilib/ \
/src/parse_fuzzer.cc -o /out/expat_parse_fuzzer \
/work/libfuzzer/*.o .libs/libexpat.a $FUZZER_LDFLAGS
cp /src/*.dict /src/*.options /out/