version: 1.4.3
source: libpng.org
parallel: OK
This is a part of my UnixImageIO framework. A script is available to build the framework from sources.
Important note: Security holes in earlier versions of libpng are fixed quickly when found. Please make sure to get the latest version of the source.
In the libpng source:
export MACOSX_DEPLOYMENT_TARGET=10.6 ./configure --disable-static --disable-dependency-tracking \ CFLAGS="-Os -arch i386 -arch x86_64" make sudo make install
In the libpng source:
export MACOSX_DEPLOYMENT_TARGET=10.5 ./configure --disable-static --disable-dependency-tracking \ CFLAGS="-Os -arch ppc -arch i386 -arch ppc64 -arch x86_64" make sudo make install
In the libpng source:
export MACOSX_DEPLOYMENT_TARGET=10.4 ./configure --disable-static --disable-dependency-tracking \ CFLAGS="-Os -arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk" make sudo make install
On Panther and for a generic single-arch build.
In the libpng source:
./configure --disable-static --disable-dependency-tracking CFLAGS=-Os make sudo make install