35 | | Notes: |
36 | | * It will build {{{armeabi}}} target, to build for other targets such as {{{arm64-v8a, armeabi-v7a, x86}}}, instead of just '{{{./configure-android}}}', specify the target arch in {{{TARGET_ABI}}} and run it with {{{--use-ndk-cflags}}}, for example: |
37 | | {{{ |
38 | | TARGET_ABI=armeabi-v7a ./configure-android --use-ndk-cflags |
39 | | }}} |
40 | | Also you should adjust [https://developer.android.com/ndk/guides/abis.html#gc Application.mk] and [https://developer.android.com/ndk/guides/abis.html#am library packaging path] (see also #1803). |
41 | | * The {{{./configure-android}}} is a wrapper that calls the standard {{{./configure}}} script with settings suitable for Android target. Standard {{{./configure}}} options should be applicable to this script too. Please check {{{./configure-android --help}}} for more info. |
42 | | * Other customizations are similar to what is explained in [wiki:Getting-Started/Autoconf Building with GNU] page. |
43 | | * Before building for another architecture, make sure to cleanup all existing binary and intermediate files, e.g: |
| 35 | This will build {{{armeabi}}} target, to build for other targets such as {{{arm64-v8a, armeabi-v7a, x86}}} see next section. |
| 36 | |
| 37 | === Building for other architectures === |
| 38 | * Make sure to cleanup all existing binary and intermediate files, e.g: |