80
81
82
83
84
85
86
87
88
89
90
91
92
93
|
## Figure out if zlib compiled (if not, the system zlib will be used and we
## will need to have that present)
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"
fi
## Tk Resources (needed for Win32 support)
TKDIR="$(cd "${OTHERPKGSDIR}/tk/inst" && pwd)"
TKRSRC="${TKDIR}/lib/tkbase.res.o"
if [ -n "${TKDIR}" -a -f "${TKRSRC}" ]; then
EXTRA_OBJS="${EXTRA_OBJS} ${TKRSRC}"
|
>
>
>
|
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
|
## Figure out if zlib compiled (if not, the system zlib will be used and we
## will need to have that present)
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"
LDFLAGS="${LDFLAGS} -L${ZLIBDIR}/lib"
export LDFLAGS
fi
## Tk Resources (needed for Win32 support)
TKDIR="$(cd "${OTHERPKGSDIR}/tk/inst" && pwd)"
TKRSRC="${TKDIR}/lib/tkbase.res.o"
if [ -n "${TKDIR}" -a -f "${TKRSRC}" ]; then
EXTRA_OBJS="${EXTRA_OBJS} ${TKRSRC}"
|