]>
Commit | Line | Data |
---|---|---|
7fdd30fa JB |
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 | |
3 | @@ -76,8 +76,8 @@ | |
4 | $(CC) -o $@ $(REAL_CFLAGS) $(REAL_LDFLAGS) -I$(AE_DIR) $(AE_DIR)/ae.o $(AE_DIR)/zmalloc.o example-ae.c $(STLIBNAME) | |
e0ef7478 ER |
5 | endif |
6 | ||
7 | -hiredis-%: %.o $(STLIBNAME) | |
7fdd30fa | 8 | - $(CC) -o $@ $(REAL_LDFLAGS) $< $(STLIBNAME) |
e0ef7478 | 9 | +hiredis-%: %.o $(DYLIBNAME) |
7fdd30fa | 10 | + $(CC) -o $@ $(REAL_LDFLAGS) $< -l$(subst lib,,$(LIBNAME)) |
e0ef7478 ER |
11 | |
12 | test: hiredis-test | |
13 | ./hiredis-test |