Skip to content

Commit 1176881

Browse files
Remove toolchain directory before build in case it already exists
1 parent 2008d88 commit 1176881

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build-openssl-libraries.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@
8383
exit 1
8484
esac
8585

86+
rm -rf ${ANDROID_TOOLCHAIN_DIR}
8687
mkdir -p "${ANDROID_LIB_ROOT}/${SQLCIPHER_TARGET_PLATFORM}"
8788
${ANDROID_NDK_ROOT}/build/tools/make-standalone-toolchain.sh \
8889
--platform=${ANDROID_PLATFORM_VERSION} \
@@ -111,6 +112,5 @@
111112
fi
112113

113114
mv libcrypto.a ${ANDROID_LIB_ROOT}/${PLATFORM_OUTPUT_DIR}
114-
rm -rf ${ANDROID_TOOLCHAIN_DIR}
115115
done
116116
)

0 commit comments

Comments
 (0)