Adds support to JSON parser in the nginx module

Building with --enable-standalone-module was failing due
the lack of the reference to the msc_json.c file inside the
standalone/Makefile.am. This patch also place the dependency
of the yajl to the nginx module config script.
This commit is contained in:
Felipe Zimmerle
2013-12-03 13:41:09 -08:00
committed by Felipe Zimmerle
parent 09ced44ffa
commit 0787b45481
4 changed files with 23 additions and 4 deletions

View File

@@ -7,7 +7,8 @@ CFLAGS="$CFLAGS \
@LIBXML2_CFLAGS@ \
@LUA_CFLAGS@ \
@MODSEC_EXTRA_CFLAGS@ \
@PCRE_CFLAGS@"
@PCRE_CFLAGS@ \
@YAJL_CFLAGS@"
CORE_LIBS="$CORE_LIBS \
@@ -18,7 +19,8 @@ CORE_LIBS="$CORE_LIBS \
@LIBXML2_LDADD@ \
@LUA_LDADD@ \
@PCRE_LDADD@ \
@APXS_LIBS@"
@APXS_LIBS@ \
@YAJL_LIBS@"
ngx_addon_name=ngx_http_modsecurity