Browse Source

wine build: libsecp deterministic on given machine

but not yet across machines
3.2.x
SomberNight 7 years ago
parent
commit
80178f9a56
No known key found for this signature in database GPG Key ID: B33B5F232C6271E9
  1. 9
      contrib/build-wine/build-secp256k1.sh

9
contrib/build-wine/build-secp256k1.sh

@ -7,7 +7,12 @@ build_dll() {
#sudo apt-get install -y mingw-w64 #sudo apt-get install -y mingw-w64
./autogen.sh ./autogen.sh
echo "LDFLAGS = -no-undefined" >> Makefile.am echo "LDFLAGS = -no-undefined" >> Makefile.am
./configure --host=$1 --enable-module-recovery --enable-experimental --enable-module-ecdh --disable-jni LDFLAGS="-Wl,--no-insert-timestamp" ./configure \
--host=$1 \
--enable-module-recovery \
--enable-experimental \
--enable-module-ecdh \
--disable-jni
make make
} }
@ -25,6 +30,8 @@ fi
git reset --hard 452d8e4d2a2f9f1b5be6b02e18f1ba102e5ca0b4 git reset --hard 452d8e4d2a2f9f1b5be6b02e18f1ba102e5ca0b4
git clean -f -x -q git clean -f -x -q
export SOURCE_DATE_EPOCH=1530212462
build_dll i686-w64-mingw32 # 64-bit would be: x86_64-w64-mingw32 build_dll i686-w64-mingw32 # 64-bit would be: x86_64-w64-mingw32
mv .libs/libsecp256k1-0.dll libsecp256k1.dll mv .libs/libsecp256k1-0.dll libsecp256k1.dll

Loading…
Cancel
Save