Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
hiredis
Commits
b9cc0add
Commit
b9cc0add
authored
Jun 24, 2015
by
Jan-Erik Rediger
Browse files
Merge pull request #333 from w359405949/w359405949-patch-1
undefined reference to `clock_gettime'
parents
f58dd249
485d0a14
Changes
1
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
b9cc0add
...
...
@@ -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)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment