Skip to content

Commit c1832ce

Browse files
fanquakestr4d
authored andcommitted
build: adapt Windows builds for libsecp256k1 build changes
See bitcoin-core/secp256k1#1367. (cherry picked from commit bitcoin/bitcoin@5080c9c) Zcash: Without changes to `build_msvc/` as we removed it.
1 parent 1187634 commit c1832ce

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

configure.ac

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -573,6 +573,8 @@ case $host in
573573

574574
ZC_REQUIRE_TOOL(WINDRES, windres)
575575

576+
CORE_CPPFLAGS="$CORE_CPPFLAGS -DSECP256K1_STATIC"
577+
576578
CPPFLAGS="$CPPFLAGS -D_MT -DWIN32 -D_WINDOWS -DBOOST_THREAD_USE_LIB -D_WIN32_WINNT=0x0601 -D_WIN32_IE=0x0501 -DWIN32_LEAN_AND_MEAN"
577579

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

0 commit comments

Comments
 (0)