Use $(LIB_FUZZING_ENGINE) in tests/ossfuzz/Makefile.

https://github.com/google/oss-fuzz/pull/3219#issuecomment-573751048

Thanks to Bhargava Shastry for sending the patch.
This commit is contained in:
Lasse Collin 2020-01-19 21:54:33 +02:00
parent 7136f1735c
commit cf2df0f05a
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
fuzz: fuzz.c
$(CC) $(CFLAGS) -c fuzz.c -I ../../src/liblzma/api/
$(CXX) $(CXXFLAGS) -lFuzzingEngine fuzz.o -o $(OUT)/fuzz \
$(CXX) $(CXXFLAGS) $(LIB_FUZZING_ENGINE) fuzz.o -o $(OUT)/fuzz \
../../src/liblzma/.libs/liblzma.a
clean: