File tree 3 files changed +5
-5
lines changed
3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -184,6 +184,6 @@ function common_build_make() {
184
184
shift
185
185
for make_param in $* ; do
186
186
echo " [info][make_${make_param} _start]" >> " ${library_arch_path} /log/output.log"
187
- make $make_param >> " ${library_arch_path} /log/output.log" 2>&1 || common_die " make $make_commond error!"
187
+ make $make_param >> " ${library_arch_path} /log/output.log" 2>&1 || common_die " make $make_param error!"
188
188
done
189
189
}
Original file line number Diff line number Diff line change @@ -51,9 +51,9 @@ export ANDROID_TRIPLES=("arm-linux-androideabi" "aarch64-linux-android" "i686-li
51
51
export ANDROID_API=23
52
52
53
53
# for test
54
- # ANDROID_ARCHS=("arm64-v8a ")
55
- # ANDROID_TRIPLES=("aarch64 -linux-android ")
56
- # ANDROID_API=23
54
+ ANDROID_ARCHS=(" armeabi-v7a " )
55
+ ANDROID_TRIPLES=(" arm -linux-androideabi " )
56
+ ANDROID_API=23
57
57
58
58
echo " ###############################################################################" > /dev/null
59
59
echo " #### Function Partition #####" > /dev/null
Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ function android_protobuf_build_config_make() {
112
112
113
113
elif [[ " ${library_arch} " == " armeabi-v7a" ]]; then
114
114
115
- ./configure --host=$( android_get_build_host " ${library_arch} " ) --prefix=" ${library_arch_path} " --with-protoc=protobuf_command > " ${library_arch_path} /log/output.log" 2>&1 || common_die " configure error!"
115
+ ./configure --host=$( android_get_build_host " ${library_arch} " ) --prefix=" ${library_arch_path} " --disable-shared -- with-protoc=protobuf_command > " ${library_arch_path} /log/output.log" 2>&1 || common_die " configure error!"
116
116
117
117
elif [[ " ${library_arch} " == " arm64-v8a" ]]; then
118
118
You can’t perform that action at this time.
0 commit comments