[Zlib-devel] Use autoconf for zlib?

Greg Roelofs newt at pobox.com
Wed Apr 12 11:16:32 EDT 2006


>> and the inability to make a shared and static library at the same
>> time.

> That can be easily fixed.  Maybe I can do it over this weekend, or maybe
> next weekend.  The idea is to build .o files from .c files using the
> static build settings, and to build .pic.o files from .c files using the
> shared build settings ($SFLAGS).  This way, the object files can
> coexist, and you can build both the static and the shared libs as
> separate targets.

You can see my 1.2.3 Linux/GCC version (final result, not .in) here:

	http://pobox.com/~newt/test/Makefile.zlib123.both

By looking at the current Makefile.in and output Makefile for various
static/shared and system options, it should be relatively easy to work
backwards from mine to a "Makefile.both.in", so to speak.  (I was going
to but never found time. ;-) )

Greg




More information about the Zlib-devel mailing list