]> git.ipfire.org Git - thirdparty/xz.git/commitdiff
Use $(LIB_FUZZING_ENGINE) in tests/ossfuzz/Makefile.
authorLasse Collin <lasse.collin@tukaani.org>
Sun, 19 Jan 2020 19:54:33 +0000 (21:54 +0200)
committerLasse Collin <lasse.collin@tukaani.org>
Sun, 19 Jan 2020 19:54:33 +0000 (21:54 +0200)
https://github.com/google/oss-fuzz/pull/3219#issuecomment-573751048

Thanks to Bhargava Shastry for sending the patch.

tests/ossfuzz/Makefile

index 67ddbe5a747b2ddede41c5d164994b588f776a34..747fb662d08dd9797490441e667909aca67a8a1b 100644 (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: