forked from pool/lz4
Jan Engelhardt
99d039b750
OBS-URL: https://build.opensuse.org/package/show/Archiving/lz4?expand=0&rev=18
28 lines
1.2 KiB
Diff
28 lines
1.2 KiB
Diff
From: Jan Engelhardt <jengelh@inai.de>
|
|
Date: 2014-11-28 20:01:01.723860722 +0100
|
|
|
|
lz4 repeatedly changed the ABI without updating the SONAME
|
|
in r124 (size of LZ4_streamDecode_t changes)
|
|
---
|
|
lib/Makefile | 4 ++--
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
Index: lz4-r131/lib/Makefile
|
|
===================================================================
|
|
--- lz4-r131.orig/lib/Makefile
|
|
+++ lz4-r131/lib/Makefile
|
|
@@ -50,11 +50,11 @@ INCLUDEDIR=$(PREFIX)/include
|
|
# see : https://developer.apple.com/library/mac/documentation/DeveloperTools/Conceptual/DynamicLibraries/100-Articles/DynamicLibraryDesignGuidelines.html
|
|
ifeq ($(shell uname), Darwin)
|
|
SHARED_EXT = dylib
|
|
- SHARED_EXT_MAJOR = $(LIBVER_MAJOR).$(SHARED_EXT)
|
|
+ SHARED_EXT_MAJOR = $(LIBVER_MAJOR).$(LIBVER_MINOR).$(SHARED_EXT)
|
|
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_VER = $(SHARED_EXT).$(LIBVER)
|