Mercurial > hg > nginx
view auto/lib/zlib/makefile.msvc @ 5255:7f4ec5bfb715
Fixed build on Linux with x32 ABI.
On Linux x32 inclusion of sys/sysctl.h produces an error. As sysctl() is
only used by rtsig event method code, which is legacy and not compiled
in by default on modern linuxes, the sys/sysctl.h file now only included
if rtsig support is enabled.
Based on patch by Serguei I. Ivantsov.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Wed, 26 Jun 2013 15:47:27 +0400 |
parents | 9d458803bbe0 |
children |
line wrap: on
line source
# Copyright (C) Igor Sysoev # Copyright (C) Nginx, Inc. CFLAGS = -nologo -O2 -Ob1 -Oi -Gs $(LIBC) $(CPU_OPT) zlib.lib: cd $(ZLIB) cl -c $(CFLAGS) adler32.c crc32.c deflate.c \ trees.c zutil.c compress.c \ inflate.c inffast.c inftrees.c link -lib -out:zlib.lib adler32.obj crc32.obj deflate.obj \ trees.obj zutil.obj compress.obj \ inflate.obj inffast.obj inftrees.obj