1
0
Fork 0
mirror of https://git.tukaani.org/xz.git synced 2024-04-04 12:36:23 +02:00

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

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: