From 7aa84aec97688effa4dca0b91926dafcbac0b0d3 Mon Sep 17 00:00:00 2001 From: Wan-Teh Chang Date: Wed, 1 Nov 2023 08:44:34 -0700 Subject: [PATCH] tests/oss-fuzz/build.sh: Minor cleanup A follow-up to commit commit 60bbef7c47a8d564189df603ec12d4a9b67a71a5. Generalize a comment, and link with libyuv.a, which will be necessary when libavif.a is no longer a combined archive library. --- tests/oss-fuzz/build.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/oss-fuzz/build.sh b/tests/oss-fuzz/build.sh index 9d40c9fa70..4002bbe715 100755 --- a/tests/oss-fuzz/build.sh +++ b/tests/oss-fuzz/build.sh @@ -19,7 +19,7 @@ # https://github.com/google/oss-fuzz/blob/master/projects/libavif/build.sh # It builds the different fuzz targets. -# build dav1d +# build dependencies cd ext && bash dav1d.cmd && bash libyuv.cmd && cd .. # build libavif @@ -33,7 +33,8 @@ ninja # build fuzzer $CXX $CXXFLAGS -std=c++11 -I../include \ ../tests/oss-fuzz/avif_decode_fuzzer.cc -o $OUT/avif_decode_fuzzer \ - $LIB_FUZZING_ENGINE libavif.a ../ext/dav1d/build/src/libdav1d.a + $LIB_FUZZING_ENGINE libavif.a ../ext/dav1d/build/src/libdav1d.a \ + ../ext/libyuv/build/libyuv.a # copy seed corpus cp $SRC/avif_decode_seed_corpus.zip $OUT/