stack_wallet/scripts/windows/build_secp256k1_wsl.sh

11 lines
314 B
Bash
Raw Normal View History

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 ../../../