blob: 5e3289942f7aa3257dd33cff0cc19c173f9dbe62 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
#!/bin/sh
set -e
case $ANDROID_ABI in
armeabi*)
target=android-arm
;;
arm64-v8a)
target=android-arm64
;;
x86)
target=android-x86
;;
x86_64)
target=android-x86_64
;;
*)
target=android
;;
esac
export PATH="$ANDROID_LLVM_TOOLCHAIN_PREFIX:$PATH"
perl $SOURCE_DIR/Configure shared $target
make -j$(nproc) SHLIB_EXT=.so
cp libcrypto.so $OUTPUT_DIR/libcrypto.so
cp libssl.so $OUTPUT_DIR/libssl.so
|