summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2015-01-09 11:53:47 +0100
committerantirez <antirez@gmail.com>2015-01-09 11:54:52 +0100
commit8a41dae49fb6331a6999b958b76a3f29a4bbe7cd (patch)
treee830007b8cdba511f22709871772dc7b94d85cdf
parent50cdedd127a0e8e3e739396a93bd02e675d6ace1 (diff)
downloadredis-8a41dae49fb6331a6999b958b76a3f29a4bbe7cd.tar.gz
Add "-lrt" in Makefile for Solaris.
This fix is from @NanXiao, however I was not able to retain authorship because the Pull Request original repository was removed.
-rw-r--r--src/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile
index 4ba2ca6a5..a65e76752 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -58,7 +58,7 @@ ifeq ($(uname_S),SunOS)
# SunOS
INSTALL=cp -pf
FINAL_CFLAGS+= -D__EXTENSIONS__ -D_XPG6
- FINAL_LIBS+= -ldl -lnsl -lsocket -lresolv -lpthread
+ FINAL_LIBS+= -ldl -lnsl -lsocket -lresolv -lpthread -lrt
else
ifeq ($(uname_S),Darwin)
# Darwin (nothing to do)