2012-02-07 01:59:10 +01:00
|
|
|
|
2012-02-08 03:47:37 +01:00
|
|
|
Change the kmod Makefile from using -version-info to -version-number
|
|
|
|
to make it clear that the kmod project is not trying to subvert the
|
|
|
|
libtool "interface" number concept, but in fact does not do
|
|
|
|
libtool-style counting.
|
2012-02-07 01:59:10 +01:00
|
|
|
|
|
|
|
References: <alpine.LNX.2.01.1202070049200.12889@frira.zrqbmnf.qr>
|
2012-02-08 03:47:37 +01:00
|
|
|
References: http://lists.gnu.org/archive/html/libtool/2012-02/msg00011.html
|
2012-02-07 01:59:10 +01:00
|
|
|
|
|
|
|
---
|
2012-02-08 03:47:37 +01:00
|
|
|
Makefile.am | 9 ++++-----
|
|
|
|
1 file changed, 4 insertions(+), 5 deletions(-)
|
2012-02-07 01:59:10 +01:00
|
|
|
|
|
|
|
Index: kmod-5/Makefile.am
|
|
|
|
===================================================================
|
|
|
|
--- kmod-5.orig/Makefile.am
|
|
|
|
+++ kmod-5/Makefile.am
|
2012-02-08 03:47:37 +01:00
|
|
|
@@ -39,9 +39,8 @@ SED_PROCESS = \
|
|
|
|
%.pc: %.pc.in Makefile
|
|
|
|
$(SED_PROCESS)
|
|
|
|
|
|
|
|
-LIBKMOD_CURRENT=2
|
|
|
|
-LIBKMOD_REVISION=0
|
|
|
|
-LIBKMOD_AGE=0
|
|
|
|
+LIBKMOD_SO_MAJOR=2
|
|
|
|
+LIBKMOD_SO_MINOR=0
|
|
|
|
|
|
|
|
noinst_LTLIBRARIES = libkmod/libkmod-util.la
|
|
|
|
libkmod_libkmod_util_la_SOURCES = libkmod/libkmod-hash.c \
|
|
|
|
@@ -71,7 +70,7 @@ EXTRA_DIST += libkmod/libkmod.sym
|
2012-02-07 01:59:10 +01:00
|
|
|
EXTRA_DIST += libkmod/COPYING libkmod/README
|
|
|
|
|
|
|
|
libkmod_libkmod_la_LDFLAGS = $(AM_LDFLAGS) \
|
|
|
|
- -version-info $(LIBKMOD_CURRENT):$(LIBKMOD_REVISION):$(LIBKMOD_AGE) \
|
2012-02-08 03:47:37 +01:00
|
|
|
+ -version-number ${LIBKMOD_SO_MAJOR}:${LIBKMOD_SO_MINOR} \
|
2012-02-07 01:59:10 +01:00
|
|
|
-Wl,--version-script=$(top_srcdir)/libkmod/libkmod.sym
|
|
|
|
libkmod_libkmod_la_DEPENDENCIES = libkmod/libkmod-util.la \
|
|
|
|
${top_srcdir}/libkmod/libkmod.sym
|