]> git.lizzy.rs Git - zlib.git/commit
Add -I../.. -L../.. to CFLAGS for minizip and miniunzip.
authorJonathan Nieder <jrnieder@gmail.com>
Tue, 17 Jan 2012 20:26:05 +0000 (14:26 -0600)
committerMark Adler <madler@alumni.caltech.edu>
Sat, 21 Jan 2012 20:45:38 +0000 (12:45 -0800)
commitad88c19baae5203a7405ec88ac5becc1b4a641a4
tree71750db97bfef2983bafa28dab971a71db02e5d9
parent17741efa029dcfac56be14b70172d708ca612ad4
Add -I../.. -L../.. to CFLAGS for minizip and miniunzip.

Trying to build miniunzip utility from contrib/minizip after an
autoreconf -f produces

[...]
In file included from minizip.c:61:0:
zip.h:50:18: fatal error: zlib.h: No such file or directory

unless zlib is already installed.  Use AM_CFLAGS to set the include
path and library path to point to the just-build copy of zlib to
fix this.  (This was already done for libminizip but not the binaries
that use it before this patch.)
contrib/minizip/Makefile.am