Welcome! Log In Create A New Profile

Advanced

Re: another c file

Anton Yuzhaninov
July 19, 2012 08:40AM
On 18.07.2012 22:38, munkhabi wrote:
> My module uses external c file. How can I link it with ngx?

Add this file to build config for module, e. g.

NGX_ADDON_SRCS="$NGX_ADDON_SRCS \
$ngx_addon_dir/ngx_foo_bar_module.c \
$ngx_addon_dir/some_extrenal_file.c"

If this code uses header files, it should be added to NGX_ADDON_DEPS

--
Anton Yuzhaninov

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

another c file

munkhabi July 18, 2012 02:38PM

Re: another c file

Anton Yuzhaninov July 19, 2012 08:40AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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