Merge pull request #61 from rust-bitcoin/2018-08-windows-fix

fix build.rs on Windows
This commit is contained in:
Andrew Poelstra 2018-11-04 13:09:10 +00:00 committed by GitHub
commit 0b1640f2ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ fn main() {
.include("depend/secp256k1/include")
.include("depend/secp256k1/src")
.flag("-g")
.flag("-Wno-unused-function") // some ecmult stuff is defined but not used upstream
.flag_if_supported("-Wno-unused-function") // some ecmult stuff is defined but not used upstream
.define("SECP256K1_BUILD", Some("1"))
// TODO these three should be changed to use libgmp, at least until secp PR 290 is merged
.define("USE_NUM_NONE", Some("1"))