sg3_utils/sgut-libversioning.diff

26 lines
858 B
Diff
Raw Normal View History

From: Jan Engelhardt <jengelh@inai.de>
Date: 2015-02-13 15:29:13.225224047 +0100
build: use unique SONAME for libsgutils
sg3_utils has added functions between (for example) 1.36 and 1.39
without tracking them (either by using a different SONAME,
or using ELF symbol versions).
---
lib/Makefile.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: sg3_utils-1.40/lib/Makefile.am
===================================================================
--- sg3_utils-1.40.orig/lib/Makefile.am
+++ sg3_utils-1.40/lib/Makefile.am
@@ -47,7 +47,7 @@ AM_CFLAGS = -iquote ../include -D_LARGEF
lib_LTLIBRARIES = libsgutils2.la
-libsgutils2_la_LDFLAGS = -version-info 2:0:0
+libsgutils2_la_LDFLAGS = -version-info 2:0:0 -release ${PACKAGE_VERSION}
libsgutils2_la_LIBADD = @GETOPT_O_FILES@ @os_libs@
libsgutils2_la_DEPENDENCIES = @GETOPT_O_FILES@