On Wed, Jan 04, 2006 at 01:40:11AM -0800, Justin Erenkrantz wrote:
> On Wed, Jan 04, 2006 at 08:54:01AM +0000, Joe Orton wrote:
> > > Again, there are substantial libtool issues that come into play that 
> > > limit 
> > > what we can realistically do.
> > 
> > I don't see any here.  2.2.x links only mod_deflate against -lz and only 
> > mod_ssl against $(SSL_LIBS).  The 2.0.x way only linking dependent 
> > libraries into httpd is broken for the not unexpected case of having a 
> > static OpenSSL build or a static libz, etc.
> 
> Try to create a static mod_deflate that links against -lz.  GNU libtool
> doesn't like that combination at all.  (It just silently drops the -lz.)

$ make LTFLAGS=
...
gcc -g -O2 -Wall -Wmissing-prototypes -Wstrict-prototypes 
-Wmissing-declarations -pthread -o httpd .libs/modules.o buildmark.o 
-Wl,--export-dynamic  server/.libs/libmain.a 
...
modules/filters/.libs/libmod_deflate.a -lz
...

looks correct here.  What platform, what version of libtool?

joe

Reply via email to