httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Orton <jor...@redhat.com>
Subject Re: RUNPATH for module dependencies on Unix/Linux
Date Tue, 05 Jul 2011 10:37:28 GMT
On Tue, Jul 05, 2011 at 11:25:53AM +0200, Rainer Jung wrote:
> > 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.

Good idea, that looks useful.

> > 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)?
 
I'm neutral on this.  It is odd to do it specifically for Solaris, but 
maybe Solaris is "different" somehow.

Regards, Joe

Mime
View raw message