Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
bbrtj committed Sep 20, 2024
1 parent 281663b commit 6825910
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions alienfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use alienfile;
plugin 'PkgConfig' => 'libsecp256k1';

share {
my $is_win = $^O eq 'MSWin32';
my $is_win = 0; #$^O eq 'MSWin32';
my $run_tests = $ENV{ALIEN_LIBSECP256K1_RUN_TESTS};

start_url 'https://github.com/bitcoin-core/secp256k1/archive/refs/tags/v0.5.1.tar.gz';
Expand All @@ -20,7 +20,8 @@ share {
[
'%{cmake}',
@{meta->prop->{plugin_build_cmake}->{args}},
'-DSECP256K1_DISABLE_SHARED=' . ($is_win ? 'OFF' : 'ON'),
'-DBUILD_SHARED_LIBS=OFF',
#'-DSECP256K1_DISABLE_SHARED=' . ($is_win ? 'OFF' : 'ON'),
'-DSECP256K1_VALGRIND=' . ($run_tests ? 'ON' : 'OFF'),
'-DSECP256K1_BUILD_TESTS=' . ($run_tests ? 'ON' : 'OFF'),
'-DSECP256K1_BUILD_EXHAUSTIVE_TESTS=' . ($run_tests ? 'ON' : 'OFF'),
Expand Down

0 comments on commit 6825910

Please sign in to comment.