diff mbox

[ovs-dev,RFC,2/2] configure: Reset libtool CURRENT version.

Message ID 20170426230803.13527-3-joe@ovn.org
State Accepted
Headers show

Commit Message

Joe Stringer April 26, 2017, 11:08 p.m. UTC
Since commit XXXXXXXXXXXX ("libopenvswitch: Rename to libfoo-X.Y."), the
CURRENT libtool number is no longer derived from the OVS MINOR (from
vMAJOR.MINOR.MICRO) version, so it can be reset to 0.

Developers should attempt to avoid introducing ABI-breaking changes
within a particular OVS-X.Y release series. Occasionally due to the
nature of a particular bug, this is not possible. In such a case,
developers must update the libtool CURRENT version to indicate this
breakage to library users.

In most OVS library releases, this is expected to remain 0.

Signed-off-by: Joe Stringer <joe@ovn.org>
---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

diff --git a/configure.ac b/configure.ac
index 671fce7fbb52..24013314a164 100644
--- a/configure.ac
+++ b/configure.ac
@@ -67,7 +67,7 @@  m4_pattern_forbid([LT_INIT]) dnl Make autoconf fail if libtool is missing.
 #    the new version. This is the case when symbols have been modified or
 #    deleted. Bump current, set revision and age to 0.
 
-m4_define([libopenvswitch_lt_current],    [1])
+m4_define([libopenvswitch_lt_current],    [0])
 m4_define([libopenvswitch_lt_revision],   [0])
 m4_define([libopenvswitch_lt_age],        [0])