summaryrefslogtreecommitdiff
path: root/HOWTO
diff options
context:
space:
mode:
authorJérôme de Bretagne <jerome.debretagne@gmail.com>2019-11-06 21:45:58 +0100
committerJérôme de Bretagne <jerome.debretagne@gmail.com>2019-11-06 22:38:16 +0100
commit257e349058789c418dea2faab107cb238bcba987 (patch)
tree0ce5f52b9bc64de50175d877827231d1298990a2 /HOWTO
parent21f14d1b89b21a2bdb630de3dd9c67c4642e5f14 (diff)
downloaderlang-257e349058789c418dea2faab107cb238bcba987.tar.gz
erts: Allow Android cross compilation to target Android 5.0 Lollipop
if_nameindex and if_freenameindex were added in Android 7.0 Nougat so guard their usages when targeting earlier Android versions. Update the Android documentation accordingly.
Diffstat (limited to 'HOWTO')
-rw-r--r--HOWTO/INSTALL-ANDROID.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/HOWTO/INSTALL-ANDROID.md b/HOWTO/INSTALL-ANDROID.md
index 34937b921e..5bef14d68f 100644
--- a/HOWTO/INSTALL-ANDROID.md
+++ b/HOWTO/INSTALL-ANDROID.md
@@ -29,7 +29,7 @@ to generate the configure scripts.
Use the following when compiling a 64-bit version.
- $ export NDK_ABI_PLAT=android24 # When targeting Android 7.0 Nougat
+ $ export NDK_ABI_PLAT=android21 # When targeting Android 5.0 Lollipop
$ ./otp_build configure \
--xcomp-conf=./xcomp/erl-xcomp-arm64-android.conf \
--without-ssl
@@ -37,7 +37,7 @@ Use the following when compiling a 64-bit version.
Use the following instead when compiling a 32-bit version.
- $ export NDK_ABI_PLAT=androideabi24 # When targeting Android 7.0 Nougat
+ $ export NDK_ABI_PLAT=androideabi21 # When targeting Android 5.0 Lollipop
$ ./otp_build configure \
--xcomp-conf=./xcomp/erl-xcomp-arm-android.conf \
--without-ssl