mirror of
https://github.com/cmclark00/retro-imager.git
synced 2025-05-19 08:25:21 +01:00
- Update bunlded libarchive version used on Windows/Mac - Enable requested zstd support while we are at it. Closes #211
16 lines
469 B
Bash
Executable file
16 lines
469 B
Bash
Executable file
# build the project
|
|
./build/autogen.sh
|
|
./configure
|
|
make -j$(nproc) all
|
|
|
|
# build seed
|
|
cp $SRC/libarchive/contrib/oss-fuzz/corpus.zip\
|
|
$OUT/libarchive_fuzzer_seed_corpus.zip
|
|
|
|
# build fuzzer(s)
|
|
$CXX $CXXFLAGS -Ilibarchive \
|
|
$SRC/libarchive/contrib/oss-fuzz/libarchive_fuzzer.cc \
|
|
-o $OUT/libarchive_fuzzer $LIB_FUZZING_ENGINE \
|
|
.libs/libarchive.a -Wl,-Bstatic -lbz2 -llzo2 \
|
|
-lxml2 -llzma -lz -lcrypto -llz4 -licuuc \
|
|
-licudata -Wl,-Bdynamic
|