Skip to content

Commit

Permalink
make_libsecp256k1.sh: add comment how to cross-compile to Windows
Browse files Browse the repository at this point in the history
related: #5976, #6054
  • Loading branch information
SomberNight committed Mar 29, 2020
1 parent 322cb56 commit 875e6b3
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions contrib/make_libsecp256k1.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
#!/bin/bash

# This script was tested on Linux and MacOS hosts, where it can be used
# to build native libsecp256k1 binaries.
#
# It can also be used to cross-compile to Windows:
# $ sudo apt-get install mingw-w64
# For a Windows x86 (32-bit) target, run:
# $ GCC_TRIPLET_HOST="i686-w64-mingw32" ./contrib/make_libsecp256k1.sh
# Or for a Windows x86_64 (64-bit) target, run:
# $ GCC_TRIPLET_HOST="x86_64-w64-mingw32" ./contrib/make_libsecp256k1.sh

LIBSECP_VERSION="b408c6a8b287003d1ade5709e6f7bc3c7f1d5be7"

set -e
Expand Down

0 comments on commit 875e6b3

Please sign in to comment.