Re: [PATCH] Fix bundle compilation on Darwin for Apache 2.0

From: Date: Mon, 13 May 2002 21:15:15 +0000
Subject: Re: [PATCH] Fix bundle compilation on Darwin for Apache 2.0
References: 1 2  Groups: php.dev 
Request: Send a blank email to php-dev+get-84016@lists.php.net to get a copy of this message
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

« previous php.dev (#84016) next »