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:50 +0100
commit8be8780d4afee905d541b2dc10cfedbd22aa2ed7 (patch)
tree0b8e537ce5db5aed87a079852ae9502ed79584a4
parentf2348a2b7f3a9680075efd8d3ba861d126c38f9b (diff)
downloadredis-8be8780d4afee905d541b2dc10cfedbd22aa2ed7.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 984050f4e..bfb5d4730 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)