mirror of
https://github.com/moparisthebest/curl
synced 2024-11-15 22:15:13 -05:00
57001ce3bb
Automake gets confused if you want to use C++ static libraries with C code - basically we need to involve the clang++ linker. The easiest way of achieving this is to rename the C code as C++ code. This gets us a bit further along the path and ought to be compatible with Google's version of clang.
16 lines
372 B
Makefile
16 lines
372 B
Makefile
FUZZPROGS = curl_fuzzer
|
|
FUZZLIBS = libstandaloneengine.a
|
|
|
|
curl_fuzzer_SOURCES = curl_fuzzer.cc
|
|
curl_fuzzer_CXXFLAGS = $(AM_CXXFLAGS)
|
|
|
|
libstandaloneengine_a_SOURCES = standalone_fuzz_target_runner.cc
|
|
libstandaloneengine_a_CXXFLAGS = $(AM_CXXFLAGS)
|
|
|
|
# Some more targets.
|
|
zip:
|
|
zip -q -r curl_fuzzer_seed_corpus.zip curl_fuzz_data
|
|
|
|
check: all
|
|
./curl_fuzzer curl_fuzz_data/*
|