compile ngx_resty to statically link some libs?

agentzh agentzh at
Tue Nov 15 04:24:01 UTC 2011

On Tue, Nov 15, 2011 at 10:30 AM, dannynoonan <nginx-forum at> wrote:
> Hey agentzh, could you provide tips on how I could cut down this list of
> dynamically linked libs:
> Specifically, I'd really like to remove libdrizzle as a dependency on
> the target machine and just have the compile pull it in at link time.


    ./configure --with-ld-opt="-static" ...

while building ngx_openresty :)


More information about the nginx mailing list