15 lines
337 B
Bash
Executable File
15 lines
337 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
if [ -f "vendor_cryptopp/build/$2/libcryptopp.a" ]; then
|
|
echo "Crypto++ already built for $2";
|
|
exit 0;
|
|
fi
|
|
|
|
export ANDROID_NDK_ROOT=$1 && \
|
|
cd vendor_cryptopp && \
|
|
make clean && \
|
|
mkdir -p build/$2 && \
|
|
source TestScripts/setenv-android.sh 21 $2 && \
|
|
make -f GNUmakefile-cross static && \
|
|
mv libcryptopp.a build/$2
|