[build] Darwin build of Android port (#3520)

This commit is contained in:
Huang Xin
2017-11-28 02:23:54 +08:00
committed by GitHub
parent 021e3db002
commit a44b39fda6
4 changed files with 6 additions and 5 deletions

View File

@@ -101,7 +101,8 @@ ld: cannot find -lglib-2.0`
Mac OSX users may need to install these tools:
```
brew install nasm binutils libtool autoconf automake cmake makedepend sdl2 lua51
brew install nasm binutils libtool autoconf automake cmake makedepend sdl2 lua51 gettext
echo 'export PATH="/usr/local/opt/gettext/bin:$PATH"' >> ~/.bash_profile
```
The KOReader Android build requires `ant`, `openjdk-8-jdk` and `p7zip-full`. A compatible version of the Android NDK and SDK will be downloaded automatically by `./kodev build android` if no NDK or SDK is provided in environment variables. For that purpose you can use `NDK=/ndk/location SDK=/sdk/location ./kodev build android`.