mirror of https://github.com/google/oss-fuzz.git
projects/zeek: update build script to fix coverage build (#4633)
This commit is contained in:
parent
c1f671f078
commit
4c18f0337d
|
@ -74,3 +74,11 @@ for f in ${fuzzers}; do
|
|||
|
||||
fuzzer_count=$((fuzzer_count + 1))
|
||||
done
|
||||
|
||||
if [ "${SANITIZER}" = "coverage" ]; then
|
||||
# Normally, base-builder/compile copies sources for use in coverage reports,
|
||||
# but its use of `cp -rL` omits the "zeek -> ." symlink used by #includes,
|
||||
# causing the coverage build to fail.
|
||||
mkdir -p $OUT/$(basename $SRC)
|
||||
cp -r $SRC/zeek $OUT/$(basename $SRC)/zeek
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue