From 98a3b2a5c234b9d21bd2ed60e664c399171aaf13 Mon Sep 17 00:00:00 2001 From: Glenn Randers-Pehrson Date: Sat, 7 Oct 2017 09:46:51 -0500 Subject: [PATCH] [libpng16] Use --with-libpng-prefix=OSS_FUZZ_ while building the fuzzer --- contrib/oss-fuzz/build.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/contrib/oss-fuzz/build.sh b/contrib/oss-fuzz/build.sh index f513f02b4..5cb5f66b4 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 5, 2017] +# Last changed in libpng 1.6.35 [October 7, 2017] # # Revisions by Glenn Randers-Pehrson, 2017: # 1. Build only the library, not the tools (changed "make -j$(nproc) all" to @@ -36,7 +36,8 @@ mv scripts/pnglibconf.dfa.temp scripts/pnglibconf.dfa # build the libpng library. autoreconf -f -i -CPPFLAGS="-I../zlib" LDFLAGS="-L../zlib" ./configure --with-zlib-prefix=z_ +CPPFLAGS="-I../zlib" LDFLAGS="-L../zlib" \ + ./configure --with-zlib-prefix=z_ --with-libpng-prefix=OSS_FUZZ_ make -j$(nproc) clean make -j$(nproc) libpng16.la