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

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
F2392b959985016ca5dacd2b70ce6389?d=identicon&s=25 Pankaj Chaudhary (Guest)
on 2016-07-22 05:11
(Received via mailing list)
Hi,

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

Thanks,
Pankaj
36a8284995fa0fb82e6aa2bede32adac?d=identicon&s=25 Francis Daly (Guest)
on 2016-07-22 09:01
(Received via mailing list)
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
This topic is locked and can not be replied to.