From 155777e316aa1bbc0f3be9ed7a6e7a9b76b58968 Mon Sep 17 00:00:00 2001 From: Randy Date: Thu, 14 May 2020 08:52:41 +0200 Subject: remove version suffix from ghostscript directory --- test/ossfuzz.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/test/ossfuzz.sh b/test/ossfuzz.sh index 4ff5858..49e721c 100755 --- a/test/ossfuzz.sh +++ b/test/ossfuzz.sh @@ -1,13 +1,13 @@ # This script is meant to be run by # https://github.com/google/oss-fuzz/blob/master/projects/libspectre/Dockerfile -cd ghostscript-9.50 +cd ghostscript ./configure make -j$(nproc) soinstall make -j$(nproc) libgs cd .. rm /usr/local/lib/libgs.so* -cp ghostscript-9.50/bin/gs.a /usr/local/lib/libgs.a +cp ghostscript/bin/gs.a /usr/local/lib/libgs.a ./autogen.sh --enable-static --disable-shared make -j$(nproc) @@ -15,15 +15,15 @@ make -j$(nproc) $CXX $CXXFLAGS $SRC/libspectre/test/spectre_read_fuzzer.c -I. \ -o $OUT/spectre_read_fuzzer \ $LIB_FUZZING_ENGINE $SRC/libspectre/libspectre/.libs/libspectre.a \ - $SRC/libspectre/ghostscript-9.50/bin/gs.a + $SRC/libspectre/ghostscript/bin/gs.a -find $SRC/libspectre/ghostscript-9.50 -name "*.ps" | \ +find $SRC/libspectre/ghostscript -name "*.ps" | \ xargs zip $OUT/spectre_read_fuzzer_seed_corpus.zip cp $SRC/libspectre/test/postscript.dict $OUT/spectre_read_fuzzer.dict # Needed for coverage builds -cd ghostscript-9.50/obj +cd ghostscript/obj ln -s ../jpeg/jdapistd.c jdapistd.c ln -s ../jpeg/jdarith.c jdarith.c -- cgit v1.2.3