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

Convert a config file to build a dynamic module #22

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

hnakamur
Copy link

Please refer to Converting Static Modules to Dynamic Modules | NGINX for dynamic modules.

HTTP_LUA_UPSTREAM_SRCS="$ngx_addon_dir/src/ngx_http_lua_upstream_module.c"

ngx_feature="Lua library"
ngx_feature_libs="-llua -lm"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is too much. I don't think ngx_lua_upstream should link against Lua. It already depends on ngx_lua anyway.

agentzh added a commit that referenced this pull request Feb 23, 2016
…X 1.9.11+ via the --add-dynamic-module=PATH option of ./configure. thanks Hiroaki Nakamura for the original patch in #22.
@agentzh
Copy link
Member

agentzh commented Feb 23, 2016

@hnakamur Committed a different version of the patch to git master. Please try it out (I know it won't work on Windows even with MSYS + MinGW).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants