csecp256k1

secp256k1 bindings.
Log | Files | Refs | README | LICENSE

commit 4b3da028c1e442420775adfca4263e456260de25
parent 6735f51204d13c2138f3bea7033dac353cc5189b
Author: Jared Tobin <jared@jtobin.io>
Date:   Wed, 14 Feb 2024 09:53:57 +0400

Build tweaks.

Of note: rust-secp256k1 adds -DSECP256k1_API, but we don't need this, as
the rationale is particular to the cc-rs crate.

Diffstat:
Msecp256k1-sys/secp256k1-sys.cabal | 13+++++++------
1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/secp256k1-sys/secp256k1-sys.cabal b/secp256k1-sys/secp256k1-sys.cabal @@ -23,6 +23,9 @@ library base , bytestring + ghc-options: + -optc -Wno-implicit-function-declaration + include-dirs: depend/secp256k1/include/ @@ -31,10 +34,8 @@ library , depend/secp256k1/src/precomputed_ecmult.c , depend/secp256k1/src/secp256k1.c - cc-options: - -DSECP256K1_API= - -DENABLE_MODULE_ECDH=1 - -DENABLE_MODULE_SCHNORRSIG=1 - -DENABLE_MODULE_EXTRAKEYS=1 - -DENABLE_MODULE_ELLSWIFT=1 + cpp-options: + -DENABLE_MODULE_SCHNORRSIG + -DENABLE_MODULE_EXTRAKEYS + -DENABLE_MODULE_ELLSWIFT