HomePhabricator

[cmake] Add an option to build the secp256k1 library as shared

Description

[cmake] Add an option to build the secp256k1 library as shared

Summary: This does not affect the other libraries and make it easier to build the shared libsecp256k1 from the monorepo.

Test Plan:

cmake -GNinja .. -DSECP256K1_BUILD_SHARED=ON
ninja secp256k1

Check the shared lib is produced.

Reviewers: #bitcoin_abc, PiRK

Reviewed By: #bitcoin_abc, PiRK

Differential Revision: https://reviews.bitcoinabc.org/D16700

Details

Provenance
FabienAuthored on Mon, Sep 2, 08:34
FabienPushed on Mon, Sep 2, 08:58
Reviewer
Restricted Project
Differential Revision
D16700: [cmake] Add an option to build the secp256k1 library as shared
Parents
rABCe12a635a00a9: [Chronik] Support listening to WebSocket updates from plugins
Branches
Unknown
Tags
Unknown