Skip to content

Commit

Permalink
bugfix: fixed compilation errors with nginx 1.11.2+ due to recent cha…
Browse files Browse the repository at this point in the history
…nges in the ngx_stream_module_t struct of the nginx core.
  • Loading branch information
agentzh committed Jul 18, 2016
1 parent 5919dae commit a06e517
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions src/ngx_stream_echo_module.c
Expand Up @@ -304,6 +304,9 @@ static ngx_command_t ngx_stream_echo_commands[] = {


static ngx_stream_module_t ngx_stream_echo_module_ctx = {
#if (nginx_version >= 1011002)
NULL, /* preconfiguration */
#endif
NULL, /* postconfiguration */

NULL, /* create main configuration */
Expand Down
3 changes: 2 additions & 1 deletion util/build.sh
Expand Up @@ -11,7 +11,8 @@ force=$2
home=~

ngx-build $force $version \
--with-ld-opt="-L$PCRE_LIB -L$OPENSSL_LIB -Wl,-rpath,$PCRE_LIB:$LIBDRIZZLE_LIB:$OPENSSL_LIB" \
--with-cc-opt="-I$PCRE_INC -I$OPENSSL_INC" \
--with-ld-opt="-L$PCRE_LIB -L$OPENSSL_LIB -Wl,-rpath,$PCRE_LIB:$OPENSSL_LIB" \
--with-http_stub_status_module \
--with-http_image_filter_module \
--without-mail_pop3_module \
Expand Down

0 comments on commit a06e517

Please sign in to comment.