diff options
author | Jan-Erik Rediger <badboy@archlinux.us> | 2015-06-24 15:35:35 +0200 |
---|---|---|
committer | Jan-Erik Rediger <badboy@archlinux.us> | 2015-06-24 15:35:35 +0200 |
commit | b9cc0add2ca68f2d2b3be69d33b46056b1810a03 (patch) | |
tree | 32a65160a2258c33234eedf1e62b9201d7e39152 | |
parent | f58dd249d6ed47a7e835463c3b04722972281dbb (diff) | |
parent | 485d0a148f96d67b96aa318b4b23ffa2ac5184a1 (diff) |
Merge pull request #333 from w359405949/w359405949-patch-1
undefined reference to `clock_gettime'
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -110,7 +110,7 @@ hiredis-example-libuv: @false else hiredis-example-libuv: examples/example-libuv.c adapters/libuv.h $(STLIBNAME) - $(CC) -o examples/$@ $(REAL_CFLAGS) $(REAL_LDFLAGS) -I. -I$(LIBUV_DIR)/include $< $(LIBUV_DIR)/.libs/libuv.a -lpthread $(STLIBNAME) + $(CC) -o examples/$@ $(REAL_CFLAGS) $(REAL_LDFLAGS) -I. -I$(LIBUV_DIR)/include $< $(LIBUV_DIR)/.libs/libuv.a -lpthread -lrt $(STLIBNAME) endif hiredis-example: examples/example.c $(STLIBNAME) |