yara: fix build (#9252)

This commit is contained in:
DavidKorczynski 2022-12-20 21:22:01 +00:00 committed by GitHub
parent 0eb5e001be
commit 35a9f36803
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ for f in $fuzzers; do
fuzzer_name=$(basename -s ".cc" $f)
echo "Building $fuzzer_name"
$CXX $CXXFLAGS -std=c++11 -I. $f -o $OUT/$fuzzer_name \
./libyara/.libs/libyara.a \
./.libs/libyara.a \
$LIB_FUZZING_ENGINE
if [ -d "$SRC/yara/tests/oss-fuzz/${fuzzer_name}_corpus" ]; then
zip -j $OUT/${fuzzer_name}_seed_corpus.zip $SRC/yara/tests/oss-fuzz/${fuzzer_name}_corpus/*