From 0d22121c276873152668472735d7312c591b6a74 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 3abef4e4..295600c4 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)