50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
|
if [ "${KITTARGET}" = "kitdll" ]; then
CFLAGS="${CFLAGS} -fPIC"
export CFLAGS
fi
# We don't pass CONFIGUREEXTRA here, since this isn't a GNU autoconf
# script and will puke
echo "Running: ./configure --prefix=\"${INSTDIR}\""
./configure --prefix="${INSTDIR}"
echo "Running: ${MAKE:-make} AR=\"${AR}\""
${MAKE:-make} AR="${AR}" || exit 1
echo "Running: ${MAKE:-make} install AR=\"${AR}\""
${MAKE:-make} install AR="${AR}"
# We don't really care too much about failure in zlib
exit 0
) || exit 1
exit 0
|
|
|
|
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
|
if [ "${KITTARGET}" = "kitdll" ]; then
CFLAGS="${CFLAGS} -fPIC"
export CFLAGS
fi
# We don't pass CONFIGUREEXTRA here, since this isn't a GNU autoconf
# script and will puke
echo "Running: ./configure --prefix=\"${INSTDIR}\" --libdir=\"${INSTDIR}/lib\""
./configure --prefix="${INSTDIR}" --libdir="${INSTDIR}/lib"
echo "Running: ${MAKE:-make} AR=\"${AR}\""
${MAKE:-make} AR="${AR}" || exit 1
echo "Running: ${MAKE:-make} install AR=\"${AR}\""
${MAKE:-make} install AR="${AR}"
# We don't really care too much about failure in zlib
exit 0
) || exit 1
exit 0
|