Browse Source

Fixes for android build

pull/2/merge
Edouard Tisserant 6 years ago
parent
commit
24a2420ac2
3 changed files with 5 additions and 4 deletions
  1. +3
    -3
      build-android/build.sh
  2. +1
    -1
      build-android/dependencies/openssl/build.sh
  3. +1
    -0
      build-android/jni/Android.mk

+ 3
- 3
build-android/build.sh View File

@ -47,12 +47,12 @@ unzip -qo "$current_dir/dependencies/cyrus-sasl/cyrus-sasl-android-$cyrus_sasl_b
cd "$current_dir/.."
tar xzf "$current_dir/../build-mac/autogen-result.tar.gz"
./configure
make prepare
make stamp-prepare
# Copy public headers to include
cp -r include/libetpan "$current_dir/include"
cp -rL include/libetpan "$current_dir/include"
mkdir -p "$current_dir/$package_name-$build_version/include"
cp -r include/libetpan "$current_dir/$package_name-$build_version/include"
cp -rL include/libetpan "$current_dir/$package_name-$build_version/include"
# Start building.
for arch in $archs ; do


+ 1
- 1
build-android/dependencies/openssl/build.sh View File

@ -90,7 +90,7 @@ function build {
mkdir -p "$current_dir/$package_name-$build_version"
mkdir -p "$current_dir/$package_name-$build_version/libs/$arch_dir_name"
cp -r include "$current_dir/$package_name-$build_version"
cp -rL include "$current_dir/$package_name-$build_version"
cp libcrypto.a libssl.a "$current_dir/$package_name-$build_version/libs/$arch_dir_name"
cd "$current_dir"
rm -rf src


+ 1
- 0
build-android/jni/Android.mk View File

@ -89,6 +89,7 @@ src_files = \
./src/low-level/mime/mailmime.c \
./src/low-level/mime/mailmime_content.c \
./src/low-level/mime/mailmime_decode.c \
./src/low-level/mime/mailmime_encode.c \
./src/low-level/mime/mailmime_disposition.c \
./src/low-level/mime/mailmime_types.c \
./src/low-level/mime/mailmime_types_helper.c \


Loading…
Cancel
Save