Custom compilation flag for an nginx module

erankor2 nginx-forum at nginx.us
Wed Dec 3 16:28:28 UTC 2014


Thank you Maxim, your suggestion will definitely work for me.

Are you familiar with any simple "non-core" module that does it ? I will
need to test for the existence of this function or the need to explicitly
add librt, and update CORE_LIBS accordingly + define some preprocessor macro
that I can later #ifdef on in my code.

I googled this up:
https://github.com/bigplum/nginx-tcp-lua-module/blob/master/config
but don't really understand what is going on there :)

Thanks,

Eran

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,255292,255294#msg-255294



More information about the nginx mailing list