commit fbe9710becba648676c3994669103f5438dc7fc5
parent e79659ba3e1387fa2cb5c73d819a2a9625a4efe8
Author: Jared Tobin <jared@jtobin.io>
Date: Sat, 24 Feb 2024 17:13:41 +0400
Fix module-enabling flag.
This seems to be the appropriate solution, no matter what GHC's
warning says. Adding '-optc -DENABLE_MODULE_ECDH' also works; adding
-DENABLE_MODULE_ECDH to cpp-options does *not*.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/secp256k1-sys/secp256k1-sys.cabal b/secp256k1-sys/secp256k1-sys.cabal
@@ -38,7 +38,7 @@ library
, depend/secp256k1/src/precomputed_ecmult.c
, depend/secp256k1/src/secp256k1.c
- cpp-options:
+ cc-options:
-DENABLE_MODULE_ECDH
test-suite tests