Welcome! Log In Create A New Profile

Advanced

[nginx] Configure: fixed build with --with-stream.

March 16, 2017 01:40PM
details: http://hg.nginx.org/nginx/rev/29e452c56125
branches:
changeset: 6933:29e452c56125
user: Ruslan Ermilov <ru@nginx.com>
date: Thu Mar 16 20:38:26 2017 +0300
description:
Configure: fixed build with --with-stream.

Some combinations of options might cause the builds with the
--with-stream option to break due to invalid value of the
STREAM_INCS make variable, e.g.

auto/configure \
--with-stream \
--with-http_perl_module=dynamic \
--without-http_memcached_module \
--without-http_empty_gif_module \
--without-http_browser_module \
--without-http_upstream_hash_module \
--without-http_upstream_ip_hash_module \
--without-http_upstream_least_conn_module \
--without-http_upstream_keepalive_module \
--without-http_upstream_zone_module \

Explicit initialization of ngx_module_libs and ngx_module_link
matches what we already do when processing mail modules, and
is also required after the next change.

diffstat:

auto/modules | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)

diffs (12 lines):

diff -r e54c336d95aa -r 29e452c56125 auto/modules
--- a/auto/modules Thu Mar 16 19:01:05 2017 +0300
+++ b/auto/modules Thu Mar 16 20:38:26 2017 +0300
@@ -966,6 +966,8 @@ if [ $STREAM != NO ]; then
STREAM_INCS=

ngx_module_type=STREAM
+ ngx_module_libs=
+ ngx_module_link=YES

ngx_module_order=

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[nginx] Configure: fixed build with --with-stream.

ru@nginx.com 747 March 16, 2017 01:40PM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 319
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready