SHA256
1
0
forked from pool/kmod
kmod/kmod-so-version.diff

39 lines
1.3 KiB
Diff
Raw Normal View History

Upstream: this patch is too complex for upstream to handle
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.
References: <alpine.LNX.2.01.1202070049200.12889@frira.zrqbmnf.qr>
References: http://lists.gnu.org/archive/html/libtool/2012-02/msg00011.html
---
Makefile.am | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
Index: kmod-6/Makefile.am
===================================================================
--- kmod-6.orig/Makefile.am
+++ kmod-6/Makefile.am
@@ -39,10 +39,6 @@ SED_PROCESS = \
%.pc: %.pc.in Makefile
$(SED_PROCESS)
-LIBKMOD_CURRENT=3
-LIBKMOD_REVISION=0
-LIBKMOD_AGE=1
-
noinst_LTLIBRARIES = libkmod/libkmod-util.la
libkmod_libkmod_util_la_SOURCES = libkmod/libkmod-hash.c \
libkmod/libkmod-hash.h \
@@ -71,7 +67,7 @@ EXTRA_DIST += libkmod/libkmod.sym
EXTRA_DIST += libkmod/COPYING libkmod/README
libkmod_libkmod_la_LDFLAGS = $(AM_LDFLAGS) \
- -version-info $(LIBKMOD_CURRENT):$(LIBKMOD_REVISION):$(LIBKMOD_AGE) \
+ -version-number 2:1 \
-Wl,--version-script=$(top_srcdir)/libkmod/libkmod.sym
libkmod_libkmod_la_DEPENDENCIES = libkmod/libkmod-util.la \
${top_srcdir}/libkmod/libkmod.sym