Re: Notes on the new libpng3.
Matt Zimmerman <firstname.lastname@example.org> writes:
> On Mon, Oct 28, 2002 at 11:45:41AM +0900, Junichi Uekawa wrote:
> > Also, upstream decided that libpng is not long to link with
> > libz and libm itself, and applications are going to need to
> > link with "-lpng -lz -lm" themselves.
> > That sounds wrong, and I patched it for now.
> > I am discussing about it with upstream but the upstream considers
> > that to be a wrong way to link libpng.
> > (of course, a makefile which says "-lpng" only will only work
> > with systems with shared libraries with interdependency
> > information, and when linking against shared libraries.
> FWIW, I agree with you here. Linking libpng with libz and libm is the sane
> thing to do.
> Makefiles shouldn't say "-lpng" anyway; they should use pkg-config --libs
> libpng or such.
~$ dpkg -L libpng3-dev | fgrep .pc # :-/
Andreas Rottmann | Dru@ICQ | 118634484@ICQ | email@example.com
http://www.8ung.at/rotty | GnuPG Key: http://www.8ung.at/rotty/gpg.asc
Fingerprint | DFB4 4EB4 78A4 5EEE 6219 F228 F92F CFC5 01FD 5B62