nginx custom module thread local ctx
crk_world at yahoo.com.cn
Sat Jan 5 09:13:52 UTC 2013
Is there something connected with CPPFLAGS in the link you gave out?
Is your actual idea is to build c++ libraries separately and only link them
in nginx makefile?
On Fri, Jan 4, 2013 at 1:12 PM, 姚伟斌 <yaoweibin at gmail.com> wrote:
> see the config as an example:
> You should add the library std++ with gcc.
> 2012/12/29 Ruslan Mullakhmetov <rm at oft-media.ru>
>> I develop some module for nginx and need to use c++ source files in it.
>> I found the way to compile it (extern c + compiler recognize .cpp files),
>> but know i need to specify some flags.
>> Could you suggest a method to tell build system which compiler (CXX) and
>> which flags to use in module/config file?
>> I saw in Makefile that it use $(CC) despite of there is unused definition
>> of $(CPP) which is actually preprocessor and no CXXFLAFS /CPPFLAGS.
>> I will greatly appreciate your help.
>> I could сorrect Makefile myself but it get's irrating with each
>> BR, Ruslan Mullakhmetov
>> nginx-devel mailing list
>> nginx-devel at nginx.org
> Weibin Yao
> Developer @ Server Platform Team of Taobao
> nginx-devel mailing list
> nginx-devel at nginx.org
Server Platforms Team at Taobao.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the nginx-devel