summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormichael-grunder <michael.grunder@gmail.com>2018-05-16 09:01:21 -0700
committermichael-grunder <michael.grunder@gmail.com>2018-05-16 09:01:21 -0700
commit03938d7ad28c4e72d756867d7aaa2367270b2b88 (patch)
treef7f8527a79cb8bd93854fc0305977e73864ef85f
parent7a1acdfeb58b3e3a84a7b5d34af5ec1daae0f603 (diff)
parent881fcb776d4237168f9ad4b2dd32c6ea902628ac (diff)
Merge remote-tracking branch 'ryandesign/install_name'
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 28a7849..54c93d2 100644
--- a/Makefile
+++ b/Makefile
@@ -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)