agentzh Wrote:
-------------------------------------------------------
> All the addon module's .o files are put under a
> single directory,
> namely, objs/addon/src/. If two modules use two
> different versions of
> your ngx_blah_blah_blah.c, then one of the .o will
> get overridden and
> break that module's certain assumption. This will
> not be an issue,
> however, if version numbers are coded into the .c
> file names, like
> ngx_blah_blah_blah_v1.c :)
>
> Personally I like the second method more because
> it reduces one
> dependency on the end-user's side :)
>
> Cheers,
> -agentzh
Distributing versioned .c/.h files seems the cleanest.