From 048984aca4796d288772d8ab781c13ced0c2fade Mon Sep 17 00:00:00 2001 From: Byron Hambly Date: Wed, 23 Aug 2023 10:05:40 +0200 Subject: [PATCH] build: fix windows build by including SECP256K1_STATIC in configure.ac introduced in https://github.com/BlockstreamResearch/secp256k1-zkp/pull/259 --- configure.ac | 1 + 1 file changed, 1 insertion(+) diff --git a/configure.ac b/configure.ac index 063a5e999e..6bbb436877 100644 --- a/configure.ac +++ b/configure.ac @@ -669,6 +669,7 @@ case $host in AC_MSG_ERROR("windres not found") fi + CPPFLAGS="$CPPFLAGS -DSECP256K1_STATIC" CPPFLAGS="$CPPFLAGS -D_MT -DWIN32 -D_WINDOWS -D_WIN32_WINNT=0x0601 -D_WIN32_IE=0x0501 -DWIN32_LEAN_AND_MEAN" dnl libtool insists upon adding -nostdlib and a list of objects/libs to link against.