[wget2] Reflect better upstream integration (#660)

This commit is contained in:
Tim Rühsen 2017-06-08 16:25:56 +02:00 committed by Max Moroz
parent a2c248a784
commit eb6f8654b7
1 changed files with 2 additions and 5 deletions

View File

@ -24,15 +24,12 @@ make clean
make -j$(nproc) all check
cd fuzz
make oss-fuzz
find . -name '*_fuzzer.dict' -exec cp -v '{}' $OUT ';'
find . -name '*_fuzzer.options' -exec cp -v '{}' $OUT ';'
for fuzzer in *_fuzzer; do
$CXX $CXXFLAGS -std=c++11 -I../include/wget/ \
"${fuzzer}.cc" -o "$OUT/${fuzzer}" \
../libwget/.libs/libwget.a -lFuzzingEngine -Wl,-Bstatic \
-lidn2 -lunistring \
-Wl,-Bdynamic
cp -p "${fuzzer}" "$OUT"
if [ -f "$SRC/${fuzzer}_seed_corpus.zip" ]; then
cp "$SRC/${fuzzer}_seed_corpus.zip" "$OUT/"