summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMark Nunberg <mnunberg@users.noreply.github.com>2018-12-05 07:48:28 -0500
committerGitHub <noreply@github.com>2018-12-05 07:48:28 -0500
commite6e5a2cba66edfb4b422f996640672e056328380 (patch)
treee37f472a8d1f67ed855ccd32620bae865013dc37 /Makefile
parent088d1469b30ba4e51c550cf1ef84580c4575a307 (diff)
parent2fa34e37af0881ff3700fea64fe211bbb8b028a2 (diff)
Merge pull request #632 from Mic92/patch-1
Makefile: use predefined AR
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 06ca994..07b8a83 100644
--- a/Makefile
+++ b/Makefile
@@ -51,7 +51,7 @@ DYLIB_MAJOR_NAME=$(LIBNAME).$(DYLIBSUFFIX).$(HIREDIS_MAJOR)
DYLIBNAME=$(LIBNAME).$(DYLIBSUFFIX)
DYLIB_MAKE_CMD=$(CC) -shared -Wl,-soname,$(DYLIB_MINOR_NAME) -o $(DYLIBNAME) $(LDFLAGS)
STLIBNAME=$(LIBNAME).$(STLIBSUFFIX)
-STLIB_MAKE_CMD=ar rcs $(STLIBNAME)
+STLIB_MAKE_CMD=$(AR) rcs $(STLIBNAME)
# Platform-specific overrides
uname_S := $(shell sh -c 'uname -s 2>/dev/null || echo not')