build: fix windows build by including SECP256K1_STATIC in configure.ac

introduced in https://github.com/BlockstreamResearch/secp256k1-zkp/pull/259
This commit is contained in:
Byron Hambly 2023-08-23 10:05:40 +02:00
parent 0aa5344253
commit 048984aca4
No known key found for this signature in database
GPG key ID: DE8F6EA20A661697

View file

@ -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.