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
