summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPieter Noordhuis <pcnoordhuis@gmail.com>2013-07-10 21:47:44 -0700
committerPieter Noordhuis <pcnoordhuis@gmail.com>2013-07-10 21:47:44 -0700
commitefe990d07d5a4293929246fe932bcf29ef9d41e0 (patch)
tree7784b6ed88f4276fb9d0f71232c522c9642d9f86
parent0396159214864173558deae4137b67488872d7b1 (diff)
Fix path to static libuv library
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 56800b5..3357112 100644
--- a/Makefile
+++ b/Makefile
@@ -82,7 +82,7 @@ hiredis-example-libuv:
@false
else
hiredis-example-libuv: example-libuv.c adapters/libuv.h $(STLIBNAME)
- $(CC) -o $@ $(REAL_CFLAGS) $(REAL_LDFLAGS) -I${LIBUV_DIR}/include/ example-libuv.c ${LIBUV_DIR}/libuv.a -lrt $(STLIBNAME)
+ $(CC) -o $@ $(REAL_CFLAGS) $(REAL_LDFLAGS) -I$(LIBUV_DIR)/include example-libuv.c $(LIBUV_DIR)/.libs/libuv.a -lpthread $(STLIBNAME)
endif
hiredis-%: %.o $(STLIBNAME)