Unix: fix library version for next release
authorLudovic Rousseau <ludovic.rousseau@free.fr>
Wed, 7 Aug 2019 22:13:17 +0000 (00:13 +0200)
committerNathan Hjelm <hjelmn@cs.unm.edu>
Fri, 9 Aug 2019 07:37:17 +0000 (00:37 -0700)
https://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html
says:

4. If any interfaces have been added, removed, or changed since the last
update, increment current, and set revision to 0.

5. If any interfaces have been added since the last public release, then
increment age.

So both current and age must be incremented. The patch in
fde20bb9b7cba0ea6e96db920d0a0169c361ca92 was not complete.

Signed-off-by: Ludovic Rousseau <ludovic.rousseau@free.fr>
configure.ac
libusb/version_nano.h

index 76f67d9..da8a158 100644 (file)
@@ -23,7 +23,7 @@ AC_INIT([libusb],[LIBUSB_MAJOR[.]LIBUSB_MINOR[.]LIBUSB_MICRO[]LIBUSB_RC],[libusb
 # http://sourceware.org/autobook/autobook/autobook_91.html
 lt_current=2
 lt_revision=0
-lt_age=1
+lt_age=2
 LTLDFLAGS="-version-info ${lt_current}:${lt_revision}:${lt_age}"
 
 AM_INIT_AUTOMAKE
index b4336b6..d7f210e 100644 (file)
@@ -1 +1 @@
-#define LIBUSB_NANO 11377
+#define LIBUSB_NANO 11378