lnsocket

A minimal C library for connecting to the lightning network
git clone git://jb55.com/lnsocket
Log | Files | Refs | Submodules | README | LICENSE

sodium-wasm.sh (301B)


      1 #!/usr/bin/env bash
      2 
      3 cd deps/libsodium
      4 
      5 export CC=emcc
      6 export AR=emar
      7 
      8 export PREFIX="$(pwd)/libsodium-wasm"
      9 
     10 mkdir -p $PREFIX || exit 1
     11 
     12 make distclean > /dev/null
     13 
     14 ./configure --disable-shared --enable-minimal --disable-ssp --prefix="$PREFIX"
     15 
     16 make -j3 install || exit 1
     17 
     18 make distclean > /dev/null