Upgrade secp256k1 to stable release

This also removes the dependency on gmp
elopez/windows-build-refresh-2
Emilio López 2 years ago
parent b99a2c5e75
commit 80c3e92b43
  1. 4
      .github/scripts/install-libsecp256k1.sh

@ -9,7 +9,7 @@ if [ -f $HOME/.local/lib/libsecp256k1.a ]; then
exit 0
fi
gitRef="1086fda4c1975d0cad8d3cad96794a64ec12dca4"
gitRef="21ffe4b22a9683cf24ae0763359e401d1284cc7a"
curl -LO "https://github.com/bitcoin-core/secp256k1/archive/$gitRef.zip"
unzip "$gitRef.zip"
@ -18,6 +18,6 @@ cd "secp256k1-$gitRef"
./autogen.sh
# hevm needs reecovery module
# enable pic so static library can link against dynamic correctly
./configure --prefix=$PREFIX --enable-module-recovery --with-pic
./configure --prefix=$PREFIX --enable-module-recovery --disable-benchmark --disable-tests --with-pic
make install

Loading…
Cancel
Save