aboutsummaryrefslogtreecommitdiff
path: root/tests/ossfuzz/Makefile
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2020-01-19 21:54:33 +0200
committerLasse Collin <lasse.collin@tukaani.org>2020-01-19 21:54:33 +0200
commitcf2df0f05ac98c1158c6e48145900b773223605d (patch)
treef00c6fc2e310607f7a06f9395368e4959f6267d1 /tests/ossfuzz/Makefile
parentRename unaligned_read32ne to read32ne, and similarly for the others. (diff)
downloadxz-cf2df0f05ac98c1158c6e48145900b773223605d.tar.xz
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.
Diffstat (limited to 'tests/ossfuzz/Makefile')
-rw-r--r--tests/ossfuzz/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ossfuzz/Makefile b/tests/ossfuzz/Makefile
index 67ddbe5a..747fb662 100644
--- a/tests/ossfuzz/Makefile
+++ b/tests/ossfuzz/Makefile
@@ -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: