"William A. Rowe, Jr." <[EMAIL PROTECTED]> writes: > The follow patch will allow binds to a static zlib, but it's not entirely portable.
This isn't what you were going for exactly, but it works for me on HP-UX, Linux, AIX, and Solaris: apxs -c mod_deflate.c zlib1.c zlib2.c zlib3.c etc. (replace zlib*.c with the proper zlib source filenames) Another little note: A user of my mod_deflate build encountered a problem loading mod_deflate alongside another module loaded another library which also had a symbol called crc32 and the wrong one was used. So to my apxs command I add -Wc,-Dcrc32=deflate_crc32 (I should probably change that to zlib_crc32.) It would be smart to identify other potential conflicts, or add support to zlib for reasonable namespace protection. -- Jeff Trawick | [EMAIL PROTECTED] Born in Roswell... married an alien...
