From cfd37abba5b36058d05e9ba48cd1eccf7c5ddfe1 Mon Sep 17 00:00:00 2001 From: Vincent Rabaud Date: Mon, 7 Sep 2020 09:34:38 +0200 Subject: [PATCH] Fix OpenCV dependency. (#4412) libjasper is not part of the oss-fuzz docker image anymore as it has been removed from Debian. So use built-in openjp2. --- projects/opencv/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/opencv/build.sh b/projects/opencv/build.sh index 165f40348..5336f1b50 100755 --- a/projects/opencv/build.sh +++ b/projects/opencv/build.sh @@ -41,7 +41,7 @@ $CXX $CXXFLAGS $LIB_FUZZING_ENGINE $fuzzer.cc -std=c++11 \ -lopencv_stitching -lopencv_video -lopencv_calib3d -lopencv_features2d \ -lopencv_highgui -lopencv_videoio -lopencv_imgcodecs -lopencv_imgproc \ -lopencv_flann -lopencv_core -llibjpeg-turbo -llibwebp -llibpng -llibtiff \ --llibjasper -lIlmImf -llibprotobuf -lquirc -lzlib -littnotify -lippiw \ +-llibopenjp2 -lIlmImf -llibprotobuf -lquirc -lzlib -littnotify -lippiw \ -lippicv -lade -ldl -lm -lpthread -lrt \ -o $OUT/$fuzzer done