Verified Commit 4159bda6 authored by Even Rouault's avatar Even Rouault

contrib/oss-fuzz/build.sh: fix ossfuzz build by statically linking to lzma

parent d73aaf07
Pipeline #95951576 passed with stages
in 7 minutes and 24 seconds
......@@ -56,7 +56,7 @@ make install
$CXX $CXXFLAGS -std=c++11 -I$WORK/include \
$SRC/libtiff/contrib/oss-fuzz/tiff_read_rgba_fuzzer.cc -o $OUT/tiff_read_rgba_fuzzer \
$LIB_FUZZING_ENGINE $WORK/lib/libtiffxx.a $WORK/lib/libtiff.a $WORK/lib/libz.a $WORK/lib/libjpeg.a \
$WORK/lib/libjbig.a $WORK/lib/libjbig85.a
$WORK/lib/libjbig.a $WORK/lib/libjbig85.a -Wl,-Bstatic -llzma -Wl,-Bdynamic
mkdir afl_testcases
(cd afl_testcases; tar xf "$SRC/afl_testcases.tgz")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment