File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 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() {
184184 shift
185185 for make_param in $* ; do
186186 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!"
188188 done
189189}
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
5151export ANDROID_API=23
5252
5353# 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
5757
5858echo " ###############################################################################" > /dev/null
5959echo " #### Function Partition #####" > /dev/null
Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ function android_protobuf_build_config_make() {
112112
113113 elif [[ " ${library_arch} " == " armeabi-v7a" ]]; then
114114
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!"
116116
117117 elif [[ " ${library_arch} " == " arm64-v8a" ]]; then
118118
You can’t perform that action at this time.
0 commit comments