diff options
author | Yann Collet <yann.collet.73@gmail.com> | 2014-07-05 12:05:55 (GMT) |
---|---|---|
committer | Yann Collet <yann.collet.73@gmail.com> | 2014-07-05 12:05:55 (GMT) |
commit | 070b33518a69c3f7905b0c5cd2fa9ffb50273848 (patch) | |
tree | d4e00009a2c3c21dda6ae7d08fa24dc8077b5dca /Makefile | |
parent | fd51d0567b640541e5d4290488bf4ed02c6d6990 (diff) | |
download | lz4-070b33518a69c3f7905b0c5cd2fa9ffb50273848.zip lz4-070b33518a69c3f7905b0c5cd2fa9ffb50273848.tar.gz lz4-070b33518a69c3f7905b0c5cd2fa9ffb50273848.tar.bz2 |
Fix : OS-X : library install name, thanks to Clemens Lang
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |