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