> I will think about a good way, how users can pass additional LDADD
> flags. Putting the "-R ..." into the LDFLAGS seems to be too heavy,
> because then the RPATH of every module etc. will contain the given
> directory. The real problematic cases are only mod_lua and in rare
> circumstances (you want to link against a non-standard zlib)
> mod_deflate. It might be enough to use APR_ADDTO() instead of direct
> assignment or APR_SETVAR() when setting the LDADD variables. I'll
> experiment.

Using APR_ADDTO() for the MOD_XXX_LDADD worked nicely, so I used that
solution to allow users to easily prefix something to our LDADD detection.

> So would you also remove the current "ap_platform_runtime_link_flag"
> hack, which we only use for Solaris and which adds "-R ..."
> unconditional? Or should we stick, because although it is not right it
> is what did work in the past (for Solaris)?

Thsi question still remains open for me.

Regards,

Rainer


Reply via email to