From a36193c967b3ffe5a5eb47513adcb22495a82ef2 Mon Sep 17 00:00:00 2001 From: ~locpyl-tidnyd Date: Tue, 30 Mar 2021 07:30:40 +0000 Subject: [PATCH] compat: mingw: don't export secp256k1 symbols from exe --- nix/sources-mingw.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nix/sources-mingw.json b/nix/sources-mingw.json index 59e74f2c9..39ade85a5 100644 --- a/nix/sources-mingw.json +++ b/nix/sources-mingw.json @@ -38,7 +38,7 @@ "mingw": { "include": "include", "lib": ".libs", - "prepare": "./autogen.sh && ./configure --enable-module-recovery && make", + "prepare": "./autogen.sh && ./configure --disable-shared --enable-module-recovery CFLAGS=-DSECP256K1_API=", "make": "libsecp256k1.la" }, "owner": "bitcoin-core",