aboutsummaryrefslogtreecommitdiffhomepage
path: root/projects/wget2
diff options
context:
space:
mode:
authorGravatar Tim Rühsen <tim.ruehsen@gmx.de>2017-06-08 16:25:56 +0200
committerGravatar Max Moroz <dor3s1@gmail.com>2017-06-08 07:25:56 -0700
commiteb6f8654b77575873d52eb0a38829b5d2711c986 (patch)
treea1f8f92ebb5e5845ab872f9165a17c19cd33508b /projects/wget2
parenta2c248a784755f9d158386d2063f3da2dd124b72 (diff)
[wget2] Reflect better upstream integration (#660)
Diffstat (limited to 'projects/wget2')
-rwxr-xr-xprojects/wget2/build.sh7
1 files changed, 2 insertions, 5 deletions
diff --git a/projects/wget2/build.sh b/projects/wget2/build.sh
index ff7920f2..aaaf7499 100755
--- a/projects/wget2/build.sh
+++ b/projects/wget2/build.sh
@@ -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/"