The bitcoinconsensus library exports the functions from
This diff adds a facility to build (if required) and install a shared
library, independently of whether the library already exists as static and/or
Note that building with BUILD_SHARED_LIBS=ON set will fail and needs a
fix which is outside the scope of this diff (the failure is not related
to this diff).