Skip to content

Commit

Permalink
Fix OSSFuzz build [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
rouault committed Nov 6, 2021
1 parent d98b52c commit 984d409
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fuzzers/build_google_oss_fuzzers.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,11 @@ build_fuzzer()
shift
echo "Building fuzzer $fuzzerName"
if test -d $SRC/install/lib; then
$CXX $CXXFLAGS -I$SRC_DIR/port -I$SRC_DIR/gcore -I$SRC_DIR/alg -I$SRC_DIR/apps -I$SRC_DIR/ogr -I$SRC_DIR/ogr/ogrsf_frmts -I$SRC_DIR/ogr/ogrsf_frmts/sqlite \
$CXX $CXXFLAGS -I$SRC_DIR/port -I$SRC_DIR/generated_headers -I$SRC_DIR/gcore -I$SRC_DIR/alg -I$SRC_DIR/apps -I$SRC_DIR/ogr -I$SRC_DIR/ogr/ogrsf_frmts -I$SRC_DIR/ogr/ogrsf_frmts/sqlite \
$sourceFilename "$@" -o $OUT/$fuzzerName \
$LIB_FUZZING_ENGINE $LIBGDAL $EXTRA_LIBS $SRC/install/lib/*.a
else
$CXX $CXXFLAGS -I$SRC_DIR/port -I$SRC_DIR/gcore -I$SRC_DIR/alg -I$SRC_DIR/apps -I$SRC_DIR/ogr -I$SRC_DIR/ogr/ogrsf_frmts -I$SRC_DIR/ogr/ogrsf_frmts/sqlite \
$CXX $CXXFLAGS -I$SRC_DIR/port -I$SRC_DIR/generated_headers -I$SRC_DIR/gcore -I$SRC_DIR/alg -I$SRC_DIR/apps -I$SRC_DIR/ogr -I$SRC_DIR/ogr/ogrsf_frmts -I$SRC_DIR/ogr/ogrsf_frmts/sqlite \
$sourceFilename "$@" -o $OUT/$fuzzerName \
$LIB_FUZZING_ENGINE $LIBGDAL $EXTRA_LIBS
fi
Expand Down

0 comments on commit 984d409

Please sign in to comment.