From 8a41dae49fb6331a6999b958b76a3f29a4bbe7cd Mon Sep 17 00:00:00 2001 From: antirez Date: Fri, 9 Jan 2015 11:53:47 +0100 Subject: [PATCH] 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. --- src/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Makefile b/src/Makefile index 4ba2ca6a..a65e7675 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) -- GitLab