diff --git a/Start.sh b/Start.sh index 306c43e..82ac874 100755 --- a/Start.sh +++ b/Start.sh @@ -28,8 +28,14 @@ then fi # Clean the deps -rm -rf deps +if [ -w deps ]; then + rm -rf deps +else + echo "Cannot delete deps: Permission denied" +fi + mkdir deps +chmod -R u+w deps # Build libs diff --git a/mbedtls.sh b/mbedtls.sh index 44e3647..ff3af98 100755 --- a/mbedtls.sh +++ b/mbedtls.sh @@ -1,7 +1,7 @@ #!/bin/bash -e . sdk.sh -MBEDTLS_VERSION=3.6.2 +MBEDTLS_VERSION=3.6.1 mkdir -p output/mbedtls/lib/$TARGET_ABI mkdir -p deps; cd deps diff --git a/sdk.sh b/sdk.sh index c45e836..15ff16e 100755 --- a/sdk.sh +++ b/sdk.sh @@ -37,7 +37,7 @@ case "$ARCH" in exit 1 ;; esac -export API=21 +export API=23 export CFLAGS="-fvisibility=hidden -fvisibility-inlines-hidden -fexceptions -D__ANDROID_MIN_SDK_VERSION__=$API" export CXXFLAGS="$CFLAGS -frtti" export NATIVE_API_LEVEL="android-$API"