How to build libpng in the MSYS?
Where to download?
You can find more version in http://sourceforge.net/projects/libpng/files/
How to extract it?
$ tar xvjf ./ libpng-1.2.39rc01.tar.bz2 |
How to build and install it?
$ . ./autogen.sh $ ./configure --prefix=/mingw --disable-shared --enable-static && make && make install |
[Summarization]
As ‘alias’ configuration can not be inherited in sub-shell, I use ‘.’ command to execute it. The real reason please refer to How to build giflib in the MSYS?