summaryrefslogtreecommitdiff
path: root/README.md
blob: 239b7be2b4ba9b06e7066f480f373a42b7314cec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# node/v8 shared library build for Android

This repository contains build scripts, build system fixes and other changes
needed to build node/v8 as a shared library for Android.  Currently we only
build for arm CPUs.

## Build instructions

Note: You might need an old system like Debian buster to build.
It might also be necessary to install 32-bit versions of some libraries:

    dpkg --add-architecture i386
	apt update
    apt install libc6:i386 libncurses5:i386 libstdc++6:i386

Run

```
./taler-android-build/arm $NDK
./taler-android-build/arm64 $NDK
./taler-android-build/x86 $NDK
./taler-android-build/x64 $NDK
```

where `$NDK` is the path to the ndk-bundle in the Android SDK.

These scripts are tested with arm and NDK version 19.2.5345600.