httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aaron Bannert <aa...@clove.org>
Subject Re: Fwd: DSO broken on MacOS X 10.1
Date Mon, 12 Nov 2001 08:46:00 GMT
On Wed, Nov 07, 2001 at 01:19:03PM -0500, Victor J. Orlikowski wrote:
> > >   Anyway, in order for DSOs (bundles, in Darwin parlance) to link with 
> > > tthis support in place, they need to know the symbols in the loading 
> > > program, so you have to specify that on the link line with, for 
> > > example, "-bundle_loader /usr/sbin/apache" or some such.  The problem 
> > > for Apache (2.0) is that GNU libtool doesn't have a good mechanism to 
> > > provide such a flag and it means the bundles have to be built after the 
> > > loading program, which is not how making Unix things compile.
> 
> Actually....
> 
> Why can this not be done?
> At Con in April, SH_LDFLAGS was added to handle flags for AIX and BeOS
> for DSOs only. I don't see why MacOS X can't do
> SH_LDFLAGS="-Wl,-bundle_loader /path/to/apache". Further, in 2.0, DSOs
> are built after the httpd (again, dating back to Con), so I don't see
> why this is a problem either.
> 
> But maybe I'm blind. ;)

Has anyone had a chance to try this out? This was also my first thought
when the -bundle_loader option for MacOS X was first suggested a month
or two ago.

-aaron

Mime
View raw message