Index: kitdll/build.sh ================================================================== --- kitdll/build.sh +++ kitdll/build.sh @@ -83,12 +83,18 @@ ZLIBDIR="$(cd "${OTHERPKGSDIR}/zlib/inst" 2>/dev/null && pwd)" export ZLIBDIR if [ -n "${ZLIBDIR}" -a -f "${ZLIBDIR}/lib/libz.a" ]; then EXTRA_OBJS="${EXTRA_OBJS} ${ZLIBDIR}/lib/libz.a" + ### Add lib directory for zlib LDFLAGS="${LDFLAGS} -L${ZLIBDIR}/lib" export LDFLAGS + + ### Add include directory for zlib + CFLAGS="${CFLAGS} -I${ZLIBDIR}/include" + CPPFLAGS="${CPPFLAGS} -I${ZLIBDIR}/include" + export CFLAGS CPPFLAGS fi ## Tk Resources (needed for Win32 support) TKDIR="$(cd "${OTHERPKGSDIR}/tk/inst" && pwd)" TKRSRC="${TKDIR}/lib/tkbase.res.o"