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:
parent
7136f1735c
commit
cf2df0f05a
|
@ -1,6 +1,6 @@
|
||||||
fuzz: fuzz.c
|
fuzz: fuzz.c
|
||||||
$(CC) $(CFLAGS) -c fuzz.c -I ../../src/liblzma/api/
|
$(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
|
../../src/liblzma/.libs/liblzma.a
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
|
|
Loading…
Reference in New Issue