Index: hiredis-0.14.1/Makefile --- hiredis-0.14.1/Makefile.orig 2015-05-03 22:58:11.000000000 +0200 +++ hiredis-0.14.1/Makefile 2015-08-16 11:41:14.943904875 +0200 @@ -49,7 +49,7 @@ 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 rc $(STLIBNAME) # Platform-specific overrides uname_S := $(shell sh -c 'uname -s 2>/dev/null || echo not') @@ -81,6 +81,7 @@ $(STLIBNAME): $(OBJ) $(STLIB_MAKE_CMD) $(OBJ) + ranlib $(STLIBNAME) dynamic: $(DYLIBNAME) static: $(STLIBNAME)