summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGlenn Randers-Pehrson <glennrp at users.sourceforge.net>2017-10-05 08:31:26 -0500
committerGlenn Randers-Pehrson <glennrp at users.sourceforge.net>2017-10-05 08:31:26 -0500
commit78ad1208d6d7c6067145cbf1cdfb98801a0b55d6 (patch)
treeb35c05ed1884762fd3bfd9855b1b3009d104ea66
parent477a241c108753815e0c4bcc0e4b7f96d52defaa (diff)
downloadlibpng-78ad1208d6d7c6067145cbf1cdfb98801a0b55d6.tar.gz
[libpng16] Use "--with-zlib-prefix=z_" while building oss-fuzz fuzzer
-rwxr-xr-xcontrib/oss-fuzz/build.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/oss-fuzz/build.sh b/contrib/oss-fuzz/build.sh
index 1ddd150c8..f513f02b4 100755
--- a/contrib/oss-fuzz/build.sh
+++ b/contrib/oss-fuzz/build.sh
@@ -14,7 +14,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
-# Last changed in libpng 1.6.35 [October 3, 2017]
+# Last changed in libpng 1.6.35 [October 5, 2017]
#
# Revisions by Glenn Randers-Pehrson, 2017:
# 1. Build only the library, not the tools (changed "make -j$(nproc) all" to
@@ -36,7 +36,7 @@ mv scripts/pnglibconf.dfa.temp scripts/pnglibconf.dfa
# build the libpng library.
autoreconf -f -i
-CPPFLAGS="-I../zlib" LDFLAGS="-L../zlib" ./configure
+CPPFLAGS="-I../zlib" LDFLAGS="-L../zlib" ./configure --with-zlib-prefix=z_
make -j$(nproc) clean
make -j$(nproc) libpng16.la