File tree 2 files changed +9
-5
lines changed
2 files changed +9
-5
lines changed 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=(" armeabi-v7a" )
55
- ANDROID_TRIPLES=(" arm-linux-androideabi" )
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 @@ -102,16 +102,20 @@ function android_protobuf_build_config_make() {
102
102
pushd .
103
103
cd " $protobuf_zip_file_no_suffix_path "
104
104
105
+ # git submodule update --init --recursive
105
106
if [[ " ${library_arch} " == " x86-64" ]]; then
106
107
107
- ./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!"
108
+ # scc_info_FileDescriptorProto_google_2fprotobuf_2fdescriptor_2eproto , so use --disable-shared
109
+ ./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!"
108
110
109
111
elif [[ " ${library_arch} " == " x86" ]]; then
110
112
111
- ./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!"
113
+ # scc_info_FileDescriptorProto_google_2fprotobuf_2fdescriptor_2eproto , so use --disable-shared
114
+ ./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!"
112
115
113
116
elif [[ " ${library_arch} " == " armeabi-v7a" ]]; then
114
117
118
+ # scc_info_FileDescriptorProto_google_2fprotobuf_2fdescriptor_2eproto , so use --disable-shared
115
119
./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
120
117
121
elif [[ " ${library_arch} " == " arm64-v8a" ]]; then
You can’t perform that action at this time.
0 commit comments