nginx build against zlib-1.2.4 fails

Vinay Y S vinay.ys at gmail.com
Wed Mar 24 21:43:21 MSK 2010


diff --git a/auto/lib/zlib/make b/auto/lib/zlib/make
index 4d62b75..b874b04 100644
--- a/auto/lib/zlib/make
+++ b/auto/lib/zlib/make
@@ -53,7 +53,7 @@ END

 $ZLIB/libz.a:  $NGX_MAKEFILE
        cd $ZLIB \\
-       && \$(MAKE) clean \\
+       && \$(MAKE) distclean \\
        && cp contrib/asm586/match.S . \\
        && CFLAGS="$ZLIB_OPT -DASMV" CC="\$(CC)" \\
                ./configure \\
@@ -70,7 +70,7 @@ END

 $ZLIB/libz.a:  $NGX_MAKEFILE
        cd $ZLIB \\
-       && \$(MAKE) clean \\
+       && \$(MAKE) distclean \\
        && cp contrib/asm686/match.S . \\
        && CFLAGS="$ZLIB_OPT -DASMV" CC="\$(CC)" \\
                ./configure \\
@@ -103,7 +103,7 @@ if [ $done = NO ]; then

 $ZLIB/libz.a:  $NGX_MAKEFILE
        cd $ZLIB \\
-       && \$(MAKE) clean \\
+       && \$(MAKE) distclean \\
        && CFLAGS="$ZLIB_OPT" CC="\$(CC)" \\
                ./configure \\
        && \$(MAKE) libz.a

-- 
Vinay

On Mon, Mar 22, 2010 at 8:42 PM, Maxim Dounin <mdounin at mdounin.ru> wrote:

> Hello!
>
> On Sun, Mar 21, 2010 at 09:02:03PM +0530, Vinay Y S wrote:
>
> > zlib-1.2.4 has been released recently and it's default Makefile has
> changed.
> > It now only contains distclean target and no target named 'clean' before
> > ./configure is run. Hence, nginx source build against zlib-1.2.4 fails.
> > Please fix this in the next release.
>
> Patch.
>
> Maxim Dounin
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://nginx.org/mailman/listinfo/nginx
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20100325/ba45d82b/attachment.html>


More information about the nginx mailing list