Welcome! Log In Create A New Profile

Advanced

Re: how i can use third party library while building own nginx module

Francis Daly
July 22, 2016 03:02AM
On Fri, Jul 22, 2016 at 08:39:52AM +0530, Pankaj Chaudhary wrote:

Hi there,

> how i can use third party library while building own nginx module as i am
> using third party libraries.

Do you know the compiler command-line that you would need to build your
module with the third party library, if nginx were not involved?

(It probably includes a "-l" argument, and possibly "-L" and "-I"
as well.)

If you look at, for example, auto/lib/geoip/conf or auto/lib/openssl/conf
in the nginx source, does that show you how to set things like
nginx_feature_libs and CORE_LIBS in your module "config" file, in order
that nginx will use a similar compiler command-line?

Good luck with it,

f
--
Francis Daly francis@daoine.org

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

how i can use third party library while building own nginx module

pankajitbhu July 21, 2016 11:12PM

Re: how i can use third party library while building own nginx module

Francis Daly July 22, 2016 03:02AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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