2024-05-09 04:35:55 +00:00
|
|
|
mkdir -p build
|
|
|
|
cd build
|
2024-10-22 23:59:02 +00:00
|
|
|
if [ ! -d "secp256k1" ]; then
|
|
|
|
git clone https://github.com/bitcoin-core/secp256k1
|
|
|
|
fi
|
2024-05-09 04:35:55 +00:00
|
|
|
cd secp256k1
|
2024-10-22 23:59:02 +00:00
|
|
|
git checkout 68b55209f1ba3e6c0417789598f5f75649e9c14c
|
|
|
|
git reset --hard
|
2024-05-09 04:35:55 +00:00
|
|
|
mkdir -p build && cd build
|
|
|
|
cmake .. -DCMAKE_TOOLCHAIN_FILE=../cmake/x86_64-w64-mingw32.toolchain.cmake
|
|
|
|
cmake --build .
|
|
|
|
mkdir -p ../../../../../build
|
2024-10-22 23:59:02 +00:00
|
|
|
cp bin/libsecp256k1-2.dll "../../../../../build/secp256k1.dll"
|
2024-05-09 04:35:55 +00:00
|
|
|
cd ../../../
|