aboutsummaryrefslogtreecommitdiffhomepage
path: root/projects/libspng
diff options
context:
space:
mode:
authorGravatar jonathanmetzman <31354670+jonathanmetzman@users.noreply.github.com>2019-05-01 11:09:55 -0400
committerGravatar GitHub <noreply@github.com>2019-05-01 11:09:55 -0400
commit3049c50d48a8e712889104db25113c2b0be00301 (patch)
treeb1ed868d18b8701642006fbc68e7aa80f23b5d02 /projects/libspng
parent22f5e3e0b8c6a865289df088a1b86e2165cf135b (diff)
Migrate projects using -lFuzzingEngine to $LIB_FUZZING_ENGINE (#2325)
Migrate from -lFuzzingEngine to $LIB_FUZZING_ENGINE where possible and not causing breakage
Diffstat (limited to 'projects/libspng')
-rw-r--r--projects/libspng/build.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/projects/libspng/build.sh b/projects/libspng/build.sh
index f0857734..92a3542d 100644
--- a/projects/libspng/build.sh
+++ b/projects/libspng/build.sh
@@ -22,14 +22,14 @@ ninja -C build
$CXX $CXXFLAGS -std=c++11 -I. \
$SRC/libspng/tests/spng_read_fuzzer.cc \
-o $OUT/spng_read_fuzzer \
- -lFuzzingEngine $SRC/libspng/build/libspng.a -lz
+ $LIB_FUZZING_ENGINE $SRC/libspng/build/libspng.a -lz
$CXX $CXXFLAGS -std=c++11 -I. \
$SRC/libspng/tests/spng_read_fuzzer.cc \
-o $OUT/spng_read_fuzzer_structure_aware \
-include ../fuzzer-test-suite/libpng-1.2.56/png_mutator.h \
-D PNG_MUTATOR_DEFINE_LIBFUZZER_CUSTOM_MUTATOR \
- -lFuzzingEngine $SRC/libspng/build/libspng.a -lz
+ $LIB_FUZZING_ENGINE $SRC/libspng/build/libspng.a -lz
find $SRC/libspng/tests/images -name "*.png" | \
xargs zip $OUT/spng_read_fuzzer_seed_corpus.zip