diff options
Diffstat (limited to 'dev-libs/hiredis/files/hiredis-0.14.1-honor-AR.patch')
-rw-r--r-- | dev-libs/hiredis/files/hiredis-0.14.1-honor-AR.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/dev-libs/hiredis/files/hiredis-0.14.1-honor-AR.patch b/dev-libs/hiredis/files/hiredis-0.14.1-honor-AR.patch new file mode 100644 index 000000000000..0bfcf0988e81 --- /dev/null +++ b/dev-libs/hiredis/files/hiredis-0.14.1-honor-AR.patch @@ -0,0 +1,11 @@ +--- 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') |