Index: zlib/build.sh ================================================================== --- zlib/build.sh +++ zlib/build.sh @@ -38,17 +38,21 @@ else cp -rp ../buildsrc/* './' fi cd "${BUILDDIR}" || exit 1 + # ZLIB Expects AR to contain options + AR="${AR:-ar} rcu" + export AR + # We don't pass CONFIGUREEXTRA here, since this isn't a GNU autoconf # script and will puke ./configure --prefix="${INSTDIR}" - ${MAKE:-make} || exit 1 + ${MAKE:-make} AR="${AR}" || exit 1 - ${MAKE:-make} install + ${MAKE:-make} install AR="${AR}" # We don't really care too much about failure in zlib exit 0 ) || exit 1