From b1992b5485fef255a5aa88b7bf07994309cfa3c6 Mon Sep 17 00:00:00 2001 From: Abhishek Arya Date: Sat, 17 Aug 2019 22:19:01 -0700 Subject: [PATCH] Fix example project build LIB_FUZZING_ENGINE is a flag now and this old optimization in https://github.com/google/oss-fuzz/commit/f858510cbe1f2b2c32a59ee837eb11173e4f2bc9#diff-f46017656f0a817860c81ddb2621b7ee is incorrect now and caused build to break. --- projects/example/my-api-repo/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/example/my-api-repo/Makefile b/projects/example/my-api-repo/Makefile index 5126b0cb8..8ca5e2243 100644 --- a/projects/example/my-api-repo/Makefile +++ b/projects/example/my-api-repo/Makefile @@ -40,7 +40,7 @@ do_stuff_unittest: do_stuff_unittest.cpp my_api.a # Fuzz target, links against $LIB_FUZZING_ENGINE, so that # you may choose which fuzzing engine to use. -do_stuff_fuzzer: do_stuff_fuzzer.cpp my_api.a ${LIB_FUZZING_ENGINE} +do_stuff_fuzzer: do_stuff_fuzzer.cpp my_api.a standalone_fuzz_target_runner.o ${CXX} ${CXXFLAGS} $< my_api.a ${LIB_FUZZING_ENGINE} -o $@ zip -q -r do_stuff_fuzzer_seed_corpus.zip do_stuff_test_data