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:53:51 +0100
commit0d22121c276873152668472735d7312c591b6a74 (patch)
tree86945be57a7d3ca6358263824491fe890e665632
parent792a94153a44014b52655d4c1af0f298dc9dc9b1 (diff)
downloadredis-0d22121c276873152668472735d7312c591b6a74.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 3abef4e48..295600c4e 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -62,7 +62,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)