Merge pull request #289 from TheBlueMatt/2021-03-no-vis

Reduce visibility on secp-sys symbols
This commit is contained in:
Andrew Poelstra 2021-06-08 18:12:55 +00:00 committed by GitHub
commit 5ff59f7f5c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -33,6 +33,7 @@ fn main() {
.include("depend/secp256k1/src") .include("depend/secp256k1/src")
.flag_if_supported("-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")) .define("SECP256K1_BUILD", Some("1"))
.define("SECP256K1_API", Some(""))
.define("ENABLE_MODULE_ECDH", Some("1")) .define("ENABLE_MODULE_ECDH", Some("1"))
.define("ENABLE_MODULE_SCHNORRSIG", Some("1")) .define("ENABLE_MODULE_SCHNORRSIG", Some("1"))
.define("ENABLE_MODULE_EXTRAKEYS", Some("1")) .define("ENABLE_MODULE_EXTRAKEYS", Some("1"))