mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2026-10-25 13:31:55 +00:00
OpenSSL 1.1.1q + https://github.com/cgutman/openssl/commit/fe1a23ccf76780a16f7dc3f2ff1ef97797109c57
27 lines
696 B
Bash
Executable File
27 lines
696 B
Bash
Executable File
PATH=$ANDROID_NDK_HOME/toolchains/llvm/prebuilt/linux-x86_64/bin:$PATH
|
|
OUTPUT_DIR=~/openssl
|
|
|
|
BASE_ARGS="no-shared no-ssl3 no-stdio no-engine no-hw"
|
|
|
|
set -e
|
|
|
|
./Configure android-arm $BASE_ARGS -D__ANDROID_API__=16
|
|
make clean
|
|
make build_libs -j`nproc`
|
|
cp lib*.a $OUTPUT_DIR/armeabi-v7a/
|
|
|
|
./Configure android-arm64 $BASE_ARGS -D__ANDROID_API__=21
|
|
make clean
|
|
make build_libs -j`nproc`
|
|
cp lib*.a $OUTPUT_DIR/arm64-v8a/
|
|
|
|
./Configure android-x86 $BASE_ARGS -D__ANDROID_API__=16
|
|
make clean
|
|
make build_libs -j`nproc`
|
|
cp lib*.a $OUTPUT_DIR/x86/
|
|
|
|
./Configure android-x86_64 $BASE_ARGS -D__ANDROID_API__=21
|
|
make clean
|
|
make build_libs -j`nproc`
|
|
cp lib*.a $OUTPUT_DIR/x86_64/
|
|
cp -R include/ $OUTPUT_DIR/include |