What steps will reproduce the problem?
1. Make libpng use miniz instead of zlib, by compiling miniz as a static
library, modifying the libpng makefile to use the compiled library instead of
zlib, and creating a header file out of miniz.c, to impersonate the original
zlib.h.
What is the expected output? What do you see instead?
libpng can't be compiled - linker complains about missing inflateReset and
inflateReset2.
What version of the product are you using? On what operating system?
miniz v115_r4 and libpng-1.6.12 cross-compiling for a custom SuperH target with
gcc 4.8.2. The cross-compiling setup is tested and works fine.
Please provide any additional information below.
Seems to be a problem similar to issue #16, except here it's not a macro that's
missing, but two zlib functions that have no equivalents on miniz.
This is especially disappointing because the project homepage claims it is
tested as a drop-in replacement for zlib, and mentions libpng as an example.
Original issue reported on code.google.com by gbl0...@gmail.com on 13 Aug 2014 at 2:27
Original issue reported on code.google.com by
gbl0...@gmail.com
on 13 Aug 2014 at 2:27