mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-04 17:20:02 +00:00
Updated curl path
This commit is contained in:
parent
5e079b740c
commit
b9ee3fb185
@ -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..."
|
||||||
|
Loading…
x
Reference in New Issue
Block a user