From 070b33518a69c3f7905b0c5cd2fa9ffb50273848 Mon Sep 17 00:00:00 2001 From: Yann Collet Date: Sat, 5 Jul 2014 13:05:55 +0100 Subject: Fix : OS-X : library install name, thanks to Clemens Lang --- Makefile | 2 +- NEWS | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 8013903..b8c259c 100644 --- a/Makefile +++ b/Makefile @@ -58,10 +58,10 @@ endif # OS X linker doesn't support -soname, and use different extension # see : https://developer.apple.com/library/mac/documentation/DeveloperTools/Conceptual/DynamicLibraries/100-Articles/DynamicLibraryDesignGuidelines.html ifeq ($(shell uname), Darwin) - SONAME_FLAGS = SHARED_EXT = dylib SHARED_EXT_MAJOR = $(LIBVER_MAJOR).$(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) SHARED_EXT = so diff --git a/NEWS b/NEWS index 2adeab3..a6fb4df 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,6 @@ +r120: +Fix : OS-X : library install name, thanks to Clemens Lang + r119: Fix : Issue 134 : extended malicious address space overflow in 32-bits mode for some specific configurations @@ -6,7 +9,7 @@ New : LZ4 Streaming API (Fast version), special thanks to Takayuki Matsuoka New : datagen : parametrable synthetic data generator for tests Improved : fuzzer, support more test cases, more parameters, ability to jump to specific test fix : support ppc64le platform (issue 131) -fix : Issue 52 (malicious address space overflow in 32-bits mode when using custom format) +fix : Issue 52 (malicious address space overflow in 32-bits mode when using large custom format) fix : Makefile : minor issue 130 : header files permissions r117: -- cgit v0.12