On Mon, May 13, 2002 at 10:41:16PM +0300, Marko Karppinen wrote: > One More Thing, Justin :) > > > +MH_BUNDLE_FLAGS="`$APXS_BINDIR/apr-config --ldflags --link-ld --libs`" > > Could you give me a scenario where we might need something from --ldflags or > --link-ld? Wouldn't just the libs do? I'd rather not include something that > might override our choices on the link line.
Such as using an external expat, gdbm, or berkeley-db. Bringing apr-util in on Darwin requires bringing in any dependencies, so we have to bring in whatever apr or apr-util depends upon. (This is off my Linux box, but the output on my Darwin box is remarkably similar.) % srclib/apr-util/apu-config --libs -lgdbm -ldb /usr/lib/libexpat.la % srclib/apr-util/apu-config --ldflags -L/pkg/db-4.0.14/lib % srclib/apr-util/apu-config --link-ld -L/home/jerenkrantz/cvs-apache/build/worker/srclib/apr-util -laprutil I've talked with some people, and we may have a solution for the expat libraries indicating its libtool path. That should remove the need for libtool on Darwin. However, I'm concerned that not using libtool for compiling and linking may introduce problems down the road. -- justin -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php