stack_wallet/scripts/windows/build_secp256k1_wsl.sh
sneurlax 2ab019f201 add linux and windows secp256k1 build scripts
in case coinlib's scripts aren't working

TODO macos and ios (android?)
2024-05-08 23:35:55 -05:00

10 lines
314 B
Bash

mkdir -p build
cd build
git clone https://github.com/bitcoin-core/secp256k1
cd secp256k1
mkdir -p build && cd build
cmake .. -DCMAKE_TOOLCHAIN_FILE=../cmake/x86_64-w64-mingw32.toolchain.cmake
cmake --build .
mkdir -p ../../../../../build
cp src/libsecp256k1-2.dll "../../../../../build/secp256k1.dll"
cd ../../../