[libpng16] Use --with-libpng-prefix=OSS_FUZZ_ while building the fuzzer

This commit is contained in:
Glenn Randers-Pehrson 2017-10-07 09:46:51 -05:00
parent 78ad1208d6
commit 98a3b2a5c2

View File

@ -14,7 +14,7 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # 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: # Revisions by Glenn Randers-Pehrson, 2017:
# 1. Build only the library, not the tools (changed "make -j$(nproc) all" to # 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. # build the libpng library.
autoreconf -f -i 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) clean
make -j$(nproc) libpng16.la make -j$(nproc) libpng16.la