Nieminen Juha wrote:
>
> Nieminen Juha <war### [at] punarastascstutfi> wrote:
> : PNGDIR = /share/local5
> : LIBPNGINC = -I$(PNGDIR)/include
> : LIBPNGLIB = -L$(PNGDIR)/lib -lpng
>
> I figured out how to do it:
>
> PNGDIR = /share/local5/include
> PNGLIBDIR = /share/local5/lib
> LIBPNGINC = -I$(PNGDIR)
> LIBPNGLIB = -L$(PNGLIBDIR) -lpng
>
> Now it works like a charm.
> I suggest a modification like this in the makefile (also with the libz).
I'll make note of that. The long-term solution, of course, is a
configure script.
-Mark Gordon
Post a reply to this message
|