libteam/soversion.diff

28 lines
1.0 KiB
Diff

From: Jan Engelhardt <jengelh@inai.de>
Date: 2012-05-12 02:07:15.879119810 +0200
Upstream: no
build: use unique SO version that won't clash
The current ABI/API might not stay the same until the first official
libteam release, so we should not use libteam.so.0 to avoid such
future collision. Suffix it with 0p (preview).
---
lib/Makefile.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: libteam/lib/Makefile.am
===================================================================
--- libteam.orig/lib/Makefile.am
+++ libteam/lib/Makefile.am
@@ -6,7 +6,7 @@ lib_LTLIBRARIES = libteam.la
libteam_la_SOURCES = libteam.c ports.c options.c ifinfo.c
libteam_la_CFLAGS= $(LIBNL_CFLAGS) -I${top_srcdir}/include -D_GNU_SOURCE
libteam_la_LIBADD= $(LIBNL_LIBS)
-libteam_la_LDFLAGS = -version-info @LIBTEAM_CURRENT@:@LIBTEAM_REVISION@:@LIBTEAM_AGE@
+libteam_la_LDFLAGS = -version-info @LIBTEAM_CURRENT@:@LIBTEAM_REVISION@:@LIBTEAM_AGE@ -release 0p
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = libteam.pc