Re: Building libpng16 from source with zlib v1.2.10

GLENN PEHRSON <[email protected]>
Newsgroups gmane.comp.graphics.png.general
Message-ID <[email protected]>
> On January 6, 2017 at 11:45 AM Guillaume Rossolini <[email protected]> wrote:
> 
>     Hi John,
> 
>     So, are you saying the project should be amended, or my configure line?
>     I've ran into these kinds of things before, but I'm not sure how to go best about solving this.
> 
>     Is it like this?
>     CPPFLAGS=-I/usr/local/include LDFLAGS=-L/usr/local/lib ./configure --prefix=/usr/local --with-zlib-prefix=/usr/local --disable-static
> 
>     Or rather this?
>     ./configure 'CPPFLAGS=-I/usr/local/include' 'LDFLAGS=-L/usr/local/lib' --prefix=/usr/local --with-zlib-prefix=/usr/local --disable-static
> 
>     (the latter seemed to work)
> 


The latter, except you can omit the "--with-zlib-prefix=/usr/local"; it isn't doing what intuition tells you it should.  It does not work the same way as the "--prefix <dir>" does.


Glenn

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot

_______________________________________________
png-mng-misc mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/png-mng-misc
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.