- Fixed ABI version for a shared library.
To test, one needs to simulate a release with backward-compatible API changes, which means:
- increment of
LIB_VERSION_CURRENT
- setting
LIB_VERSION_REVISION
to zero - increment of
LIB_VERSION_AGE
- When using Visual Studio generator, the “lib” prefix is not added automatically.
Also added ABI-version suffix for a shared library (not bothering about a static library, as it already has the “_static” suffix to avoid name collision with DLL import library; should be revisited after #1230).
On master (5658209459655cb74a0b8295e524a6390406e86a):
- shared library:
secp256k1.dll
andsecp256k1.lib
- static library:
secp256k1_static.lib
With this PR:
- shared library:
libsecp256k1-2.dll
andlibsecp256k1-2.lib
- static library:
libsecp256k1_static.lib