Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

Commit 62effa5

Browse files
committed
[[ Android ]] Tweak android build readme
This patch corrects the command that should be used to build an android standalone toolchain to match how android is built on vulcan. In particular, it is important that no --stl option is specified otherwise the engine ends up with a dependence on libc++_shared.so rather than linking to it statically.
1 parent 289432e commit 62effa5

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

docs/development/build-android.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,14 @@ Create a standalone toolchain (this simplifies setting up the build environment)
4242

4343
````bash
4444
android-ndk-r14/build/tools/make_standalone_toolchain.py \
45-
--arch arm --api 17 --stl libc++ \
45+
--arch arm --api 9 \
4646
--install-dir ${HOME}/android/toolchain/standalone
4747
````
4848

49+
**Note:** We currently use NDK API 9 for building the LiveCode Android engine and
50+
do not specify the '--stl' option as we currently require the C++ library (if used)
51+
to be statically linked into the executable.
52+
4953
Add a couple of symlinks to allow the engine configuration script to find the Android toolchain:
5054

5155
````bash

0 commit comments

Comments
 (0)