libcryfs/vendor/cryptopp/android-build.sh

9 lines
212 B
Bash
Raw Normal View History

2022-06-22 22:32:05 +02:00
#!/usr/bin/env bash
2022-06-21 18:38:52 +02:00
2022-06-22 22:32:05 +02:00
export ANDROID_NDK_ROOT=$1 && \
2022-06-21 18:38:52 +02:00
cd vendor_cryptopp && \
2022-06-22 22:32:05 +02:00
mkdir -p build/$2 && \
source TestScripts/setenv-android.sh 21 $2 && \
make -f GNUmakefile-cross static && \
mv libcryptopp.a build/$2