Skip to content

Commit 048984a

Browse files
committed
build: fix windows build by including SECP256K1_STATIC in configure.ac
introduced in BlockstreamResearch/secp256k1-zkp#259
1 parent 0aa5344 commit 048984a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

configure.ac

+1
Original file line numberDiff line numberDiff line change
@@ -669,6 +669,7 @@ case $host in
669669
AC_MSG_ERROR("windres not found")
670670
fi
671671

672+
CPPFLAGS="$CPPFLAGS -DSECP256K1_STATIC"
672673
CPPFLAGS="$CPPFLAGS -D_MT -DWIN32 -D_WINDOWS -D_WIN32_WINNT=0x0601 -D_WIN32_IE=0x0501 -DWIN32_LEAN_AND_MEAN"
673674

674675
dnl libtool insists upon adding -nostdlib and a list of objects/libs to link against.

0 commit comments

Comments
 (0)