Hello there,<br><br>I've been trying to compiling zlib using mingw32[0] in a linux host (and automate it with jhbuild[1]), I've found that the ARFLAGS are set in the AR variable of the Makefile, this flags are incompatible with the mingw32's ar, so I've patched it to perform a succesful build. Basically the patch adds an ARFLAG  variable to split the command and the flag arguments.
<br><br>The patch is attached to this mail. Comments are welcome :)<br clear="all"><br><br>[0] <a href="http://www.mingw.org/">http://www.mingw.org/</a><br>[1] <a href="http://www.freedesktop.org/wiki/Software/jhbuild">http://www.freedesktop.org/wiki/Software/jhbuild
</a><br>-- <br>Un saludo,<br>Alberto Ruiz