diff --git a/contrib/oss-fuzz/build.sh b/contrib/oss-fuzz/build.sh index f513f02b404c72d438c076ca9337374c072f333e..5cb5f66b4123af7a26c5b5f6cd994bff2a90de9e 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