Updated curl path

This commit is contained in:
Shoghi Cervantes 2014-01-31 16:00:09 +01:00
parent 5e079b740c
commit b9ee3fb185

View File

@ -47,7 +47,7 @@ if [ "$1" == "rpi" ]; then
[ -z "$CFLAGS" ] && CFLAGS="-mfloat-abi=hard -mfpu=vfp"; [ -z "$CFLAGS" ] && CFLAGS="-mfloat-abi=hard -mfpu=vfp";
echo "[INFO] Compiling for Raspberry Pi ARMv6zk hard float" echo "[INFO] Compiling for Raspberry Pi ARMv6zk hard float"
elif [ "$1" == "mac" ]; then elif [ "$1" == "mac" ]; then
[ -z "$march" ] && march=i386; [ -z "$march" ] && march=prescott;
[ -z "$mtune" ] && mtune=generic; [ -z "$mtune" ] && mtune=generic;
[ -z "$CFLAGS" ] && CFLAGS="-fomit-frame-pointer"; [ -z "$CFLAGS" ] && CFLAGS="-fomit-frame-pointer";
echo "[INFO] Compiling for Intel MacOS" echo "[INFO] Compiling for Intel MacOS"
@ -179,7 +179,7 @@ rm -r -f ./zlib
echo " done!" echo " done!"
if [ "$(uname -s)" == "Darwin" ] && [ "$1" != "crosscompile" ] && [ "$2" != "curl" ]; then if [ "$(uname -s)" == "Darwin" ] && [ "$1" != "crosscompile" ] && [ "$2" != "curl" ]; then
HAVE_CURL="shared,/usr/local" HAVE_CURL="shared,/usr"
else else
#curl #curl
echo -n "[cURL] downloading $CURL_VERSION..." echo -n "[cURL] downloading $CURL_VERSION..."