2018-03-03 09:04:09 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
2018-03-15 18:34:55 +00:00
|
|
|
set -e
|
|
|
|
|
2018-03-03 09:04:09 +00:00
|
|
|
THIS_DIR=$(dirname "$0")
|
|
|
|
cd $THIS_DIR/secp256k1
|
|
|
|
./autogen.sh
|
2018-03-15 18:34:55 +00:00
|
|
|
./configure --enable-module-ecdh --enable-module-recovery --enable-experimental
|
2018-03-03 09:04:09 +00:00
|
|
|
make src/ecmult_static_context.h
|
2018-03-15 18:34:55 +00:00
|
|
|
|
|
|
|
cd -
|
|
|
|
cp secp256k1/src/ecmult_static_context.h "$THIS_DIR"
|
|
|
|
cp secp256k1/src/libsecp256k1-config.h "$THIS_DIR"
|