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.
This commit is contained in:
antirez 2015-01-09 11:53:47 +01:00
parent 792a94153a
commit 0d22121c27

View File

@ -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)