SHA256
1
0
forked from pool/lz4
lz4/lz4-soversion.diff

26 lines
983 B
Diff

From: Jan Engelhardt <jengelh@inai.de>
Date: 2014-11-28 20:01:01.723860722 +0100
lz4 management apparently changed the ABI in r124 (size of
LZ4_streamDecode_t changes) and did not update SO versioning.
---
Makefile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Index: trunk/Makefile
===================================================================
--- trunk.orig/Makefile
+++ trunk/Makefile
@@ -65,9 +65,9 @@ ifeq ($(shell uname), Darwin)
SHARED_EXT_VER = $(LIBVER).$(SHARED_EXT)
SONAME_FLAGS = -install_name $(PREFIX)/lib/liblz4.$(SHARED_EXT_MAJOR) -compatibility_version $(LIBVER_MAJOR) -current_version $(LIBVER)
else
- SONAME_FLAGS = -Wl,-soname=liblz4.$(SHARED_EXT).$(LIBVER_MAJOR)
+ SONAME_FLAGS = -Wl,-soname=liblz4.$(SHARED_EXT).$(LIBVER_MAJOR).$(LIBVER_MINOR)
SHARED_EXT = so
- SHARED_EXT_MAJOR = $(SHARED_EXT).$(LIBVER_MAJOR)
+ SHARED_EXT_MAJOR = $(SHARED_EXT).$(LIBVER_MAJOR).$(LIBVER_MINOR)
SHARED_EXT_VER = $(SHARED_EXT).$(LIBVER)
endif