diff options
author | Ryan Schmidt <git@ryandesign.com> | 2018-05-14 14:32:05 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-14 14:32:05 -0500 |
commit | 881fcb776d4237168f9ad4b2dd32c6ea902628ac (patch) | |
tree | c912e0a09f585c9033f585174aa90813681c4be2 | |
parent | c1af0e849d6387a4297a1e1066c107f6f72d8469 (diff) |
Use absolute install_name
Fixes #437.
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -63,7 +63,7 @@ endif ifeq ($(uname_S),Darwin) DYLIBSUFFIX=dylib DYLIB_MINOR_NAME=$(LIBNAME).$(HIREDIS_SONAME).$(DYLIBSUFFIX) - DYLIB_MAKE_CMD=$(CC) -shared -Wl,-install_name,$(DYLIB_MINOR_NAME) -o $(DYLIBNAME) $(LDFLAGS) + DYLIB_MAKE_CMD=$(CC) -shared -Wl,-install_name,$(PREFIX)/$(LIBRARY_PATH)$(DYLIB_MINOR_NAME) -o $(DYLIBNAME) $(LDFLAGS) endif all: $(DYLIBNAME) $(STLIBNAME) hiredis-test $(PKGCONFNAME) |