aboutsummaryrefslogtreecommitdiff
path: root/contrib/oss-fuzz/build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/oss-fuzz/build.sh')
-rwxr-xr-xcontrib/oss-fuzz/build.sh11
1 files changed, 5 insertions, 6 deletions
diff --git a/contrib/oss-fuzz/build.sh b/contrib/oss-fuzz/build.sh
index f9e1b0776..d2137b13e 100755
--- a/contrib/oss-fuzz/build.sh
+++ b/contrib/oss-fuzz/build.sh
@@ -1,5 +1,5 @@
#!/bin/bash -eu
-# Copyright 2017-2018 Glenn Randers-Pehrson
+# Copyright 2017 Glenn Randers-Pehrson
# Copyright 2016 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
@@ -14,13 +14,12 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
-# Last changed in libpng 1.6.35 [July 15, 2018]
+# Last changed in libpng 1.6.33 [September 28, 2017]
#
-# Revisions by Glenn Randers-Pehrson, 2017:
+# Revisions by Glenn Randers-Pehson, 2017:
# 1. Build only the library, not the tools (changed "make -j$(nproc) all" to
# "make -j$(nproc) libpng16.la").
# 2. Disabled WARNING and WRITE options in pnglibconf.dfa.
-# 3. Build zlib alongside libpng
################################################################################
# Disable logging via library build configuration control.
@@ -31,9 +30,9 @@ cat scripts/pnglibconf.dfa | \
> scripts/pnglibconf.dfa.temp
mv scripts/pnglibconf.dfa.temp scripts/pnglibconf.dfa
-# build the libpng library.
+# build the library.
autoreconf -f -i
-./configure --with-libpng-prefix=OSS_FUZZ_
+./configure
make -j$(nproc) clean
make -j$(nproc) libpng16.la