File tree Expand file tree Collapse file tree 2 files changed +15
-6
lines changed Expand file tree Collapse file tree 2 files changed +15
-6
lines changed Original file line number Diff line number Diff line change
1
+ .DEFAULT_GOAL := all
2
+
3
+ build-openssl-libraries :
4
+ ./build-openssl-libraries.sh
5
+
6
+ all :
Original file line number Diff line number Diff line change 6
6
exit 1
7
7
fi
8
8
9
+ ANDROID_LIB_ROOT=../android-libs
9
10
HOST_INFO=` uname -a`
10
11
case ${HOST_INFO} in
11
12
Darwin* )
25
26
;;
26
27
esac
27
28
28
- rm ../android-libs/armeabi/libcrypto.a \
29
- ../android-libs/x86/libcrypto.a
29
+ rm -rf ${ANDROID_LIB_ROOT}
30
+ mkdir -p ${ANDROID_LIB_ROOT} /armeabi
31
+ mkdir -p ${ANDROID_LIB_ROOT} /armeabi-v7a
32
+ mkdir -p ${ANDROID_LIB_ROOT} /x86
30
33
31
34
git clean -dfx && git checkout -f
32
35
./Configure dist
57
60
58
61
make clean
59
62
make build_crypto
60
- mv libcrypto.a ../android-libs /armeabi/
61
-
63
+ mv libcrypto.a ${ANDROID_LIB_ROOT} /armeabi/
64
+
62
65
rm -rf ${ANDROID_TOOLCHAIN_DIR}
63
66
64
67
# armv7 build
77
80
78
81
make clean
79
82
make build_crypto
80
- mv libcrypto.a ../android-libs /armeabi-v7a/
83
+ mv libcrypto.a ${ANDROID_LIB_ROOT} /armeabi-v7a/
81
84
82
85
rm -rf ${ANDROID_TOOLCHAIN_DIR}
83
86
97
100
98
101
make clean
99
102
make build_crypto
100
- mv libcrypto.a ../android-libs /x86/
103
+ mv libcrypto.a ${ANDROID_LIB_ROOT} /x86/
101
104
)
You can’t perform that action at this time.
0 commit comments