Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(build) explictly include internal stream lua API header #58

Draft
wants to merge 5 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion stream/config
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
ngx_module_type=STREAM
ngx_module_name=ngx_stream_lua_kong_module
ngx_module_srcs="$ngx_addon_dir/src/ngx_stream_lua_kong_module.c"
ngx_module_incs="$ngx_addon_dir/src"

if [ -z "$NGX_STREAM_LUA_LOC" ]; then
ngx_stream_lua_loc="../ngx_stream_lua-*"
else
ngx_stream_lua_loc="$NGX_STREAM_LUA_LOC"
fi
ngx_module_incs="$ngx_addon_dir/src $ngx_stream_lua_loc/src"

. auto/module

Expand Down
1 change: 1 addition & 0 deletions stream/src/ngx_stream_lua_kong_module.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
#include <ngx_core.h>
#include <ngx_stream.h>
#include <ngx_stream_lua_api.h>
#include <ngx_stream_lua_socket_tcp.h>
#include "ngx_stream_lua_kong_module.h"


Expand Down