1 --- hiredis-0.11.0/Makefile.orig 2013-12-12 17:28:25.817204756 +0100
2 +++ hiredis-0.11.0/Makefile 2013-12-12 17:33:18.150525821 +0100
4 $(CC) -o $@ $(REAL_CFLAGS) $(REAL_LDFLAGS) -I$(AE_DIR) $(AE_DIR)/ae.o $(AE_DIR)/zmalloc.o example-ae.c $(STLIBNAME)
7 -hiredis-%: %.o $(STLIBNAME)
8 - $(CC) -o $@ $(REAL_LDFLAGS) $< $(STLIBNAME)
9 +hiredis-%: %.o $(DYLIBNAME)
10 + $(CC) -o $@ $(REAL_LDFLAGS) $< -l$(subst lib,,$(LIBNAME))