mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-03-25 10:50:08 +03:00
fuzz: Fix OSS-Fuzz build of lint fuzzer
This commit is contained in:
parent
cd7299a8e3
commit
6904d4c225
@ -41,10 +41,14 @@ make fuzz.o
|
||||
for fuzzer in \
|
||||
api html lint reader regexp schema uri valid xinclude xml xpath
|
||||
do
|
||||
make $fuzzer.o
|
||||
OBJS="$fuzzer.o"
|
||||
if [ "$fuzzer" = lint ]; then
|
||||
OBJS="$OBJS ../xmllint.o ../shell.o"
|
||||
fi
|
||||
make $OBJS
|
||||
# Link with $CXX
|
||||
$CXX $CXXFLAGS \
|
||||
$fuzzer.o fuzz.o \
|
||||
$OBJS fuzz.o \
|
||||
-o $OUT/$fuzzer \
|
||||
$LIB_FUZZING_ENGINE \
|
||||
../.libs/libxml2.a -Wl,-Bstatic -lz -llzma -Wl,-Bdynamic
|
||||
|
Loading…
x
Reference in New Issue
Block a user