[libpng16] Use --zprefix in oss-fuzz libpng build to avoid conflict with system libz.

This commit is contained in:
Glenn Randers-Pehrson
2017-10-03 09:51:09 -05:00
parent edb1f47139
commit 477a241c10
3 changed files with 7 additions and 5 deletions

View File

@@ -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 1, 2017]
# Last changed in libpng 1.6.35 [October 3, 2017]
#
# Revisions by Glenn Randers-Pehrson, 2017:
# 1. Build only the library, not the tools (changed "make -j$(nproc) all" to
@@ -32,7 +32,7 @@ cat scripts/pnglibconf.dfa | \
mv scripts/pnglibconf.dfa.temp scripts/pnglibconf.dfa
# build zlib library.
(cd ../zlib; ./configure; make -j$(nproc) clean; make -j$(nproc) all)
(cd ../zlib; ./configure --zprefix; make -j$(nproc) clean; make -j$(nproc) all)
# build the libpng library.
autoreconf -f -i