Welcome! Log In Create A New Profile

Advanced

[njs] Style: express requirement to use PCRE via $ngx_module_libs.

September 15, 2016 03:54AM
details: http://hg.nginx.org/njs/rev/1745fcf4a5cc
branches:
changeset: 173:1745fcf4a5cc
user: Ruslan Ermilov <ru@nginx.com>
date: Thu Sep 15 10:52:01 2016 +0300
description:
Style: express requirement to use PCRE via $ngx_module_libs.

diffstat:

nginx/config | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)

diffs (32 lines):

diff -r efd2f95aaeb4 -r 1745fcf4a5cc nginx/config
--- a/nginx/config Tue Sep 13 16:59:27 2016 +0300
+++ b/nginx/config Thu Sep 15 10:52:01 2016 +0300
@@ -1,13 +1,11 @@
ngx_addon_name="ngx_js_module"

-USE_PCRE=YES
-
if test -n "$ngx_module_link"; then
ngx_module_type=HTTP
ngx_module_name=ngx_http_js_module
ngx_module_incs="$ngx_addon_dir/../nxt $ngx_addon_dir/../njs"
ngx_module_srcs="$ngx_addon_dir/ngx_http_js_module.c"
- ngx_module_libs="$ngx_addon_dir/../build/libnjs.a -lm"
+ ngx_module_libs="PCRE $ngx_addon_dir/../build/libnjs.a -lm"

. auto/module

@@ -15,10 +13,12 @@ if test -n "$ngx_module_link"; then
ngx_module_name=ngx_stream_js_module
ngx_module_incs="$ngx_addon_dir/../nxt $ngx_addon_dir/../njs"
ngx_module_srcs="$ngx_addon_dir/ngx_stream_js_module.c"
- ngx_module_libs="$ngx_addon_dir/../build/libnjs.a -lm"
+ ngx_module_libs="PCRE $ngx_addon_dir/../build/libnjs.a -lm"

. auto/module
else
+ USE_PCRE=YES
+
HTTP_MODULES="$HTTP_MODULES ngx_http_js_module"
STREAM_MODULES="$STREAM_MODULES ngx_stream_js_module"
CORE_INCS="$CORE_INCS $ngx_addon_dir/../nxt $ngx_addon_dir/../njs"

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

[njs] Style: express requirement to use PCRE via $ngx_module_libs.

ru@nginx.com 781 September 15, 2016 03:54AM



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

Online Users

Guests: 232
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