Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
32 lines (17 sloc) 864 Bytes
Building the libotr3.js
1. [Setup Emscripten + LLVM clang compilers](
2. [Setup crypto-emscripten build script](
This will be used to compile libgpg-error,libgcrypt and libotr into bitcode.
In the root directory of crypto-emscripten folder, edit **** and set *LIBOTR_VERSION* to *"3.2.1"*.
Then run the build script.
3. Get the source of otr3-em and make the module.
git clone
cd otr3-em/
Either run:
make -e #this will use the environement variable exported in step 2 to locate crypto-emscripten
make CRYPTO_EMSCRIPTEN=/path/to/crypto-emscripten
4. Run a test
node test