dot.dot.dot.exampol

This commit is contained in:
Captain Nick Lucifer* 2023-03-10 23:21:16 +05:45
commit a0bc2d79de
406 changed files with 34577 additions and 0 deletions

27
node_modules/lnsocket/tools/secp-wasm.sh generated vendored Executable file
View file

@ -0,0 +1,27 @@
#!/usr/bin/env bash
cd deps/secp256k1
export CC=emcc
export AR=emar
export RANLIB=emranlib
export PREFIX="$(pwd)/libsecp256k1-wasm"
mkdir -p $PREFIX || exit 1
make distclean > /dev/null
patch -N -p1 < ../../tools/0001-configure-customizable-AR-and-RANLIB.patch
./configure --disable-shared \
--disable-tests \
--disable-exhaustive-tests \
--disable-benchmark \
--enable-module-ecdh \
--prefix="$PREFIX"
make -j3 install || exit 1
rm -rf -- "$PREFIX/tmp"
make distclean > /dev/null