From 07e4c5d76265e6edcc204883de94b63b94c90562 Mon Sep 17 00:00:00 2001 From: Guillaume Roguez <guillaume.roguez@savoirfairelinux.com> Date: Tue, 3 Oct 2017 16:42:52 -0400 Subject: [PATCH] mingw: fix build with secp256k1 * Prevent symbols export (was the cause of wring libring.dll.a) * Do not build tests binaries (waste of build time) Change-Id: Ic823790f0371ae6320f8d6a4d5e9a925938b4f8d --- contrib/src/secp256k1/rules.mak | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/src/secp256k1/rules.mak b/contrib/src/secp256k1/rules.mak index abdcc36f05..d47405ae81 100644 --- a/contrib/src/secp256k1/rules.mak +++ b/contrib/src/secp256k1/rules.mak @@ -22,6 +22,6 @@ secp256k1: secp256k1-$(SECP256K1_VERSION).tar.gz .sum-secp256k1 .secp256k1: secp256k1 $(RECONF) - cd $< && $(HOSTVARS) ./configure $(HOSTCONF) - cd $< && $(MAKE) install + cd $< && $(HOSTVARS) ./configure $(HOSTCONF) --disable-tests --disable-exhaustive-tests + cd $< && $(MAKE) CFLAGS+="-USECP256K1_BUILD" install touch $@ -- GitLab