Skip to content

Commit

Permalink
build: fix windows build by including SECP256K1_STATIC in configure.ac
Browse files Browse the repository at this point in the history
  • Loading branch information
delta1 committed Aug 23, 2023
1 parent 0aa5344 commit 048984a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 048984a

Please sign in to comment.