From e998d0f472895ce7bf7f821bc0e5ad3767486346 Mon Sep 17 00:00:00 2001 From: bbrtj Date: Fri, 20 Sep 2024 14:23:54 +0200 Subject: [PATCH] Make tests pass in all CI environments --- Changes | 2 ++ Secp256k1.xs | 2 +- cpanfile | 3 ++- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Changes b/Changes index 63489c4..8b0355e 100644 --- a/Changes +++ b/Changes @@ -1,6 +1,8 @@ Revision history for Bitcoin-Secp256k1 {{$NEXT}} + - Module should now be buildable on threaded perls + - Module should now be buildable on all major OSes 0.001 - 2024-09-17 - First version diff --git a/Secp256k1.xs b/Secp256k1.xs index 6f201a4..9e9b058 100644 --- a/Secp256k1.xs +++ b/Secp256k1.xs @@ -1,8 +1,8 @@ -#define PERL_NO_GET_CONTEXT #include "EXTERN.h" #include "perl.h" #include "XSUB.h" +#define SECP256K1_STATIC #include #define CURVE_SIZE 32 diff --git a/cpanfile b/cpanfile index 788ef1e..c7008b0 100644 --- a/cpanfile +++ b/cpanfile @@ -3,6 +3,7 @@ on 'test' => sub { }; on 'configure' => sub { - requires 'Alien::libsecp256k1' => '0'; + # first version working properly on all platforms + requires 'Alien::libsecp256k1' => '0.050103'; };