summaryrefslogtreecommitdiff
path: root/include/git2
diff options
context:
space:
mode:
authorCarlos Martín Nieto <cmn@dwim.me>2014-06-08 19:42:54 +0200
committerCarlos Martín Nieto <cmn@dwim.me>2014-06-08 19:42:54 +0200
commit99807672055b6bb86e44311a199592ceb35c72bd (patch)
treeec717118fc28b95475aba3cf189fcbf3f7e93f7b /include/git2
parentce5e6617b08829d3a473595322a0e67bef9ea645 (diff)
downloadlibgit2-cmn/soversion.tar.gz
Change SOVERSION at API breakscmn/soversion
Since the SOVERSION doesn't need to follow the library's version and simply needs to be monotonically increasing whenever we release something that breaks the ABI, we can set some number and allow multiple versions of the library to be installed side-by-side. We start here with the minor version as that's what we release for now, and it allows to backport this change to earlier versions.
Diffstat (limited to 'include/git2')
-rw-r--r--include/git2/version.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/git2/version.h b/include/git2/version.h
index c4c5e8eb1..9d8a74edd 100644
--- a/include/git2/version.h
+++ b/include/git2/version.h
@@ -12,4 +12,6 @@
#define LIBGIT2_VER_MINOR 20
#define LIBGIT2_VER_REVISION 0
+#define LIBGIT2_SOVERSION 20
+
#endif