summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormichael-grunder <michael.grunder@gmail.com>2018-05-16 09:57:40 -0700
committermichael-grunder <michael.grunder@gmail.com>2018-05-16 09:57:40 -0700
commitdbde4f68cf2bef809dca5cb108e2827690d556b0 (patch)
treea058ca004079ff70ef67d2798b380d7613465d46
parent9d3b4ec703ee3d2d03920bc2dbb939d9598ca25d (diff)
parentc5cb45642118136ebfdf8be4d58ad8d7952fbb8f (diff)
Merge branch 'master' of github.com:redis/hiredis
-rw-r--r--Makefile7
1 files changed, 1 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index 729bb70..5d7e23c 100644
--- a/Makefile
+++ b/Makefile
@@ -58,7 +58,6 @@ uname_S := $(shell sh -c 'uname -s 2>/dev/null || echo not')
ifeq ($(uname_S),SunOS)
REAL_LDFLAGS+= -ldl -lnsl -lsocket
DYLIB_MAKE_CMD=$(CC) -G -o $(DYLIBNAME) -h $(DYLIB_MINOR_NAME) $(LDFLAGS)
- INSTALL= cp -r
endif
ifeq ($(uname_S),Darwin)
DYLIBSUFFIX=dylib
@@ -161,11 +160,7 @@ clean:
dep:
$(CC) -MM *.c
-ifeq ($(uname_S),$(filter $(uname_S),SunOS OpenBSD))
- INSTALL?= cp -r
-endif
-
-INSTALL?= cp -a
+INSTALL?= cp -pPR
$(PKGCONFNAME): hiredis.h
@echo "Generating $@ for pkgconfig..."