mirror of
https://github.com/nginx/nginx.git
synced 2025-06-08 02:02:38 +08:00
Helper target "win32" to run configure for win32 builds.
This commit is contained in:
parent
27b9435343
commit
f5e90ce368
@ -82,6 +82,43 @@ snapshot:
|
|||||||
|
|
||||||
tar -c -z -f $(NGINX).tar.gz --directory $(TEMP) $(NGINX)
|
tar -c -z -f $(NGINX).tar.gz --directory $(TEMP) $(NGINX)
|
||||||
|
|
||||||
|
win32:
|
||||||
|
./auto/configure \
|
||||||
|
--with-cc=cl \
|
||||||
|
--builddir=${OBJS} \
|
||||||
|
--with-debug \
|
||||||
|
--prefix= \
|
||||||
|
--conf-path=conf/nginx.conf \
|
||||||
|
--pid-path=logs/nginx.pid \
|
||||||
|
--http-log-path=logs/access.log \
|
||||||
|
--error-log-path=logs/error.log \
|
||||||
|
--sbin-path=nginx.exe \
|
||||||
|
--http-client-body-temp-path=temp/client_body_temp \
|
||||||
|
--http-proxy-temp-path=temp/proxy_temp \
|
||||||
|
--http-fastcgi-temp-path=temp/fastcgi_temp \
|
||||||
|
--http-scgi-temp-path=temp/scgi_temp \
|
||||||
|
--http-uwsgi-temp-path=temp/uwsgi_temp \
|
||||||
|
--with-cc-opt=-DFD_SETSIZE=1024 \
|
||||||
|
--with-pcre=${OBJS}/lib/${PCRE} \
|
||||||
|
--with-zlib=${OBJS}/lib/${ZLIB} \
|
||||||
|
--with-select_module \
|
||||||
|
--with-http_realip_module \
|
||||||
|
--with-http_addition_module \
|
||||||
|
--with-http_sub_module \
|
||||||
|
--with-http_dav_module \
|
||||||
|
--with-http_stub_status_module \
|
||||||
|
--with-http_flv_module \
|
||||||
|
--with-http_mp4_module \
|
||||||
|
--with-http_gunzip_module \
|
||||||
|
--with-http_gzip_static_module \
|
||||||
|
--with-http_random_index_module \
|
||||||
|
--with-http_secure_link_module \
|
||||||
|
--with-mail \
|
||||||
|
--with-openssl=${OBJS}/lib/${OPENSSL} \
|
||||||
|
--with-openssl-opt=enable-tlsext \
|
||||||
|
--with-http_ssl_module \
|
||||||
|
--with-mail_ssl_module \
|
||||||
|
--with-ipv6
|
||||||
|
|
||||||
zip:
|
zip:
|
||||||
rm -rf $(TEMP)
|
rm -rf $(TEMP)
|
||||||
|
Loading…
Reference in New Issue
Block a user