diff options
| author | Jörg Thalheim <Mic92@users.noreply.github.com> | 2018-12-04 20:47:37 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-12-04 20:47:37 +0000 |
| commit | 2fa34e37af0881ff3700fea64fe211bbb8b028a2 (patch) | |
| tree | 78f827f55f7516948f279c2067589923891dc871 | |
| parent | 91289c81ee19c6fcef88960fc91eda7d32dae364 (diff) | |
| download | hiredict-2fa34e37af0881ff3700fea64fe211bbb8b028a2.tar.xz | |
Makefile: use predefined AR
This allows to override it for cross compilation.
| -rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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') |
