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

Francis Daly francis at daoine.org
Fri Jul 22 07:00:24 UTC 2016


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 at daoine.org



More information about the nginx mailing list