Gentoo Archives: gentoo-devhelp

From: Mike Frysinger <vapier@g.o>
To: gentoo-devhelp@l.g.o
Subject: Re: [gentoo-devhelp] Re: How to modify makefile to link against libpng 1.2?
Date: Thu, 24 Mar 2011 22:01:26
Message-Id: AANLkTi=YVnpdZEiEXAFqiennPp1gDHBuJoaMPXsrf_fe@mail.gmail.com
In Reply to: [gentoo-devhelp] Re: How to modify makefile to link against libpng 1.2? by Nikos Chantziaras
On Thu, Mar 24, 2011 at 5:58 PM, Nikos Chantziaras wrote:
> On 03/24/2011 11:53 PM, Mike Frysinger wrote: >> On Thu, Mar 24, 2011 at 5:30 PM, Nikos Chantziaras wrote: >>> How should the link command look for it to link against libpng 1.2 rather >>> than 1.4?  (I seem to have both installed.) >> >> you cant.  the libpng-1.2 ebuild in the tree only installs the library >> that is needed by applications at runtime (libpng12.so.0).  it >> provides no header files to compile against nor libraries to link >> against. > > That sounds kinda sad :-P  Does that mean there's no way to build this app > at all on Gentoo?
update the code to the libpng-1.4+ API and i imagine it'll build/link fine -mike